TupleCoder class

ABICoder implementation for encoding and decoding tuple types.

Implemented types

Constructors

TupleCoder()
Creates an instance of the TupleCoder class.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

abiEncode(AbiParameter params, List input) EncoderResult
Encodes a tuple of dynamic values to ABI-encoded bytes.
override
decode(AbiParameter params, List<int> bytes) DecoderResult<List>
Decodes a tuple of dynamic values from the given ABI-encoded bytes.
override
legacyEip712Encode(AbiParameter params, List input, bool keepSize) EncoderResult
Legacy EIP-712 encoding for tuple values. Optionally keeps the size unchanged based on the keepSize parameter.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited