serialize method

Future<Uint8List> serialize()

The compiled artifact, which can be loaded in another worker.

Implementation

Future<Uint8List> serialize() async =>
    (await _request('moduleSerialize'))['value']! as Uint8List;