compile method

Future<Module> compile(
  1. Object bytes
)

The WebAssembly.compile() function compiles WebAssembly binary code into a WebAssembly.Module object. This function is useful if it is necessary to compile a module before it can be instantiated (otherwise, the WebAssembly.instantiate() function should be used).

MDN

Implementation

_i2.Future<_i3.Module> compile(_i2.Object bytes) =>
    _i6.promiseToFuture(_i6.callMethod(
      this,
      'compile',
      [bytes],
    ));