Variant class

A type that can be one of several different Case.

Inheritance

Constructors

Variant.new(List<Case> cases)
A type that can be one of several different Case.
const

Properties

cases List<Case>
The cases of the variant.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

alignment() int
The alignment in bytes of a value of this type in the wasm stack
inherited
despecialized() DespecializedValType
The despecialized representation of this type
inherited
flatTypes() List<FlatType>
The wasm core flat types representation of this type
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size() int
The size in bytes of a value of this type in the wasm stack
inherited
toString() String
A string representation of this object.
inherited

Operators

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