fromBytes static method

Future<WasmParseBackend> fromBytes(
  1. Uint8List bytes
)

Compile and instantiate from raw module bytes.

Implementation

static Future<WasmParseBackend> fromBytes(Uint8List bytes) async {
  final module = await _compile(bytes.toJS).toDart;
  return WasmParseBackend._(module);
}