toWasm method

List<Object?> toWasm()
override

Returns this as a WASM canonical abi value.

Implementation

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