toWasm method

List<Object?> toWasm()
override

Returns this as a WASM canonical abi value.

Implementation

List<Object?> toWasm() => [
      columns.map((e) => e.toWasm()).toList(growable: false),
      matchValue.toWasm(),
      (optSearchModifier == null
          ? const None().toWasm()
          : Option.fromValue(optSearchModifier)
              .toWasm((some) => some.toWasm()))
    ];