WASIComponentResourceUse constructor
const
WASIComponentResourceUse({
- required int canonicalIndex,
- required WasmComponentCanonicalKind canonicalKind,
- required String path,
- required WASIComponentResourceHandleKind handleKind,
- required int resourceTypeIndex,
- required WASIComponentResourceBinding? binding,
Creates a decoded resource-use descriptor.
Implementation
const WASIComponentResourceUse({
required this.canonicalIndex,
required this.canonicalKind,
required this.path,
required this.handleKind,
required this.resourceTypeIndex,
required this.binding,
});