ConstraintType enum
The data type of constraint represented by an OptionConstraint.
Values
- intRange → const ConstraintType
-
The constraint on a range of
OptionType.INTvalues. Themin,max, andquantproperties ofOptionConstraintwill belong, and itslistpropety will be unset.const ConstraintType('INT_RANGE') - fixedRange → const ConstraintType
-
The constraint on a range of
OptionType.FIXEDvalues. Themin,max, andquantproperties ofOptionConstraintwill bedouble, and itslistproperty will be unset.const ConstraintType('FIXED_RANGE') - intList → const ConstraintType
-
The constraint on a specific list of
OptionType.INTvalues. TheOptionConstraint.listproperty will containlongvalues, and the other properties will be unset.const ConstraintType('INT_LIST') - fixedList → const ConstraintType
-
The constraint on a specific list of
OptionType.FIXEDvalues. TheOptionConstraint.listproperty will containdoublevalues, and the other properties will be unset.const ConstraintType('FIXED_LIST') - stringList → const ConstraintType
-
The constraint on a specific list of
OptionType.STRINGvalues. TheOptionConstraint.listproperty will containDOMStringvalues, and the other properties will be unset.const ConstraintType('STRING_LIST')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJS → JSString
-
no setter
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJS(
JSString value) → ConstraintType
Constants
-
values
→ const List<
ConstraintType> - A constant List of the values in this enum, in order of their declaration.