DiagramPropertyOption<T> class
final
One option of a choice property.
Constructors
- DiagramPropertyOption(T value, {required String label, String? id, DiagramIcon? icon})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → DiagramIcon?
-
The icon an inspector shows for it, owned by the declaring extension.
final
- id → String
-
A stable identity for keys and tests; defaults to the label.
no setter
- label → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
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