CheckedState enum
Checked state of a semantics node.
Values
- none → const CheckedState
-
The semantics node does not have a check state.
const CheckedState(0) - isTrue → const CheckedState
-
The semantics node is checked.
const CheckedState(1) - isFalse → const CheckedState
-
The semantics node is not checked.
const CheckedState(2) - mixed → const CheckedState
-
The semantics node represents a tristate checkbox in a mixed state.
const CheckedState(3)
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
- value → int
-
The value of the flag.
final
Methods
-
hasConflict(
CheckedState other) → bool - If two semantics nodes both have check state, they have conflict and can't be merged.
-
merge(
CheckedState other) → CheckedState - Semanitcs nodes will only be merged when they are not in conflict.
-
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
Constants
-
values
→ const List<
CheckedState> - A constant List of the values in this enum, in order of their declaration.