toWasm method

List<Object?> toWasm()

Returns this as a WASM canonical abi value.

Implementation

List<Object?> toWasm() => [
      insertions
          .map((e) =>
              [e.$1, e.$2.map((e) => e.toWasm()).toList(growable: false)])
          .toList(growable: false),
      deletions
          .map((e) =>
              [e.$1, e.$2.map((e) => e.toWasm()).toList(growable: false)])
          .toList(growable: false)
    ];