Union4<A, B, C, D> class
sealed
A Union4 holds one of four values, either an instance of A
, B
, C
or
D
, never more than one.
Properties
- a → A
-
This value is only accessable, if this Union4 is a Union4A.
no setter
- b → B
-
This value is only accessable, if this Union4 is a Union4B.
no setter
- c → C
-
This value is only accessable, if this Union4 is a Union4C.
no setter
- d → D
-
This value is only accessable, if this Union4 is a Union4D.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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