Returns this as a WASM canonical abi value.
List<Object?> toWasm() => [kind.toWasm(), functionType.toWasm()];