DiagramRouteOption class final

One typed, JSON-serializable option a connector route accepts, declared by a ValueField like a shape's values.

Values live in ConnectorElement.routeOptions under key; a connector that omits one uses the field's default. unit labels a number.

Constructors

DiagramRouteOption(String key, {required String label, required ValueField field, String unit = ''})
const

Properties

field → ValueField
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
final
label → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → 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