exports method

Future<List<WasmExport>> exports()

The module's exports, with their declared types.

Implementation

Future<List<WasmExport>> exports() async => [
  for (final entry in (await _request('moduleExports'))['value']! as List)
    _decodeExport((entry as Map).cast<String, Object?>()),
];