WASIComponentResourceUse constructor

const WASIComponentResourceUse({
  1. required int canonicalIndex,
  2. required WasmComponentCanonicalKind canonicalKind,
  3. required String path,
  4. required WASIComponentResourceHandleKind handleKind,
  5. required int resourceTypeIndex,
  6. 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,
});