ConstraintType enum
The type of constraint represented by an OptionConstraint.
Values
- intRange → const ConstraintType
-
Constraint represents a range of
OptionType.INT
values.min
,max
, andquant
will belong
, andlist
will be unset.const ConstraintType('INT_RANGE')
- fixedRange → const ConstraintType
-
Constraint represents a range of
OptionType.FIXED
values.min
,max
, andquant
will bedouble
, andlist
will be unset.const ConstraintType('FIXED_RANGE')
- intList → const ConstraintType
-
Constraint represents a specific list of
OptionType.INT
values.list
will containlong
values, and the other fields will be unset.const ConstraintType('INT_LIST')
- fixedList → const ConstraintType
-
Constraint represents a specific list of
OptionType.FIXED
values.list
will containdouble
values, and the other fields will be unset.const ConstraintType('FIXED_LIST')
- stringList → const ConstraintType
-
Constraint represents a specific list of
OptionType.STRING
values.list
will containDOMString
values, and the other fields will be unset.const ConstraintType('STRING_LIST')
Properties
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(
String value) → ConstraintType
Constants
-
values
→ const List<
ConstraintType> - A constant List of the values in this enum, in order of their declaration.