SolArray class

Fixed-size T[N] or dynamic T[].

Inheritance

Constructors

SolArray(SolType elementType, [int? fixedLength])

Properties

elementType SolType
final
fixedLength int?
Null for dynamic arrays.
final
hashCode int
The hash code for this object.
no setterinherited
isDynamic bool
no setteroverride
name String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Uint8List data, int offset) → (dynamic, int)
ABI-decode from data at byte offset. Returns (decoded value, bytes consumed from head).
override
encode(dynamic value) Uint8List
ABI-encode value as a 32-byte-aligned Uint8List. For dynamic types, returns the tail; the caller places the offset in the head.
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