Option<V> class abstract

Inheritance
Implementers

Constructors

Option(V value, {required String label, dynamic icon, List? subtitle, String? selection, List<String> extraTokens = const []})
factory

Properties

diffHashCode int
no setterinherited
diffKey → dynamic
no setterinherited
diffSource → dynamic
no setterinherited
extraTokens List<String>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon → dynamic
no setterinherited
key → V?
no setterinherited
label String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection String
no setterinherited
subtitle List?
no setterinherited
value → V?
no setterinherited

Methods

diffEquals(dynamic other) bool
inherited
diffIdentical(dynamic other) bool
inherited
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

keyed<K, V>(K? key, V? value, {required String label, List? subtitle, List<String>? extraTokens, String? selection, dynamic icon}) KeyedOption<K, V>
ofString(String value, {dynamic icon}) Option<String>
ofValue<T>(T? key, {String? label}) Option<T>