menu
- stl
- stl.dart
- Variant3Item1<T0, T1, T2> class
Variant3Item1
Variant3Item1<T0, T1, T2> class
final
Properties
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
index
→ int
-
Gets the 0-based index of the active alternative.
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ T1
-
Gets the current active value dynamically.
final
Methods
-
holdsAlternative<T>()
→ bool
-
Checks if the variant currently holds the specified type alternative.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
override
-
visit<R>({required R onT0(T0), required R onT1(T1), required R onT2(T2)})
→ R
-
Visits the underlying value with exhaustive matching.
override