toWasm static method

(int, Object?) toWasm(
  1. EventPathItem value
)

Returns this as a WASM canonical abi value.

Implementation

static (int, Object?) toWasm(EventPathItem value) => switch (value) {
      EventPathItemString() => value.toWasm(),
      EventPathItemIntU32() => value.toWasm(),
    };