toWasm static method
Returns this as a WASM canonical abi value.
Implementation
static (int, Object?) toWasm(ItemInput value) => switch (value) {
FilePath() => (0, value.toWasm()),
DirPath() => (1, value.toWasm()),
FileBytes() => (2, value.toWasm()),
};