toWasm static method
Returns this as a WASM canonical abi value.
Implementation
static (int, Object?) toWasm(YArrayDelta value) => switch (value) {
YArrayDeltaInsert() => (0, value.toWasm()),
YArrayDeltaDelete() => (1, value.toWasm()),
YArrayDeltaRetain() => (2, value.toWasm()),
};