OptionalSelection<T> class

Constructors

OptionalSelection({required List<T> options, T? selected})

Properties

hashCode int
The hash code for this object.
no setterinherited
hasSelection bool
no setter
options List<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected → T?
no setter

Methods

copyWith(T? selection) OptionalSelection<T>
Creates a copy with a different selection.
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