WASIComponentWitEnum class final

Enum type declared directly in a WIT interface.

Constructors

WASIComponentWitEnum({required String name, required List<WASIComponentWitLabel> cases, required WASIComponentWitSpan span})
Creates a WIT enum declaration boundary.

Properties

cases → List<WASIComponentWitLabel>
Ordered enum cases.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Enum name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
span → WASIComponentWitSpan
Source span for the enum name.
final

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