toWasm method

List<Object?> toWasm()
override

Returns this as a WASM canonical abi value.

Implementation

List<Object?> toWasm() => [
  insert,
  (attributes == null
      ? const None().toWasm()
      : Option.fromValue(attributes).toWasm((some) => some.toWasm())),
];