AnyOf4<T0, T1, T2, T3> class

Inheritance

Constructors

AnyOf4({required Map<int, Object?> values})

Properties

asT0 → T0
no setter
asT1 → T1
no setter
asT2 → T2
no setter
asT3 → T3
no setter
hashCode int
The hash code for this object.
no setterinherited
isNull bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types List<Type>
all available types to choose from
no setteroverride
values Map<int, Object?>
the actual values, accepts null
final
valueTypes Set<Type>
all available types to choose from
no setterinherited

Methods

isTX(int index) bool
checks if values contain the input type index as a key
inherited
isType(Type t) bool
checks if valueTypes contains the input type
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
returns value.toString()
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited