WASIComponentWitUseItem class final
One item inside a WIT use declaration.
Constructors
- WASIComponentWitUseItem({required String name, required String alias, required WASIComponentWitTarget target, required WASIComponentWitSpan span})
-
Creates a WIT use item boundary.
const
Properties
- alias → String
-
Local alias available in the current interface.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name exported by the used interface.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → WASIComponentWitSpan
-
Source span for the item name.
final
- target → WASIComponentWitTarget
-
Target interface containing 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