BorshTupleSized class

Tuple Sized

An annotation for fixed-length arrays with multiple sized data types.

@BorshTupleSized([BorshUint8(), BorshFloat64(), BorshBool()])
final List property; // [1, 2.0, true]
Inheritance
Implemented types

Constructors

BorshTupleSized.new(List<BorshAnnotationSized> fields)
Creates an annotation for a fixed-length array with multiple sized data types.
const

Properties

fields List<BorshAnnotationSized>
The field type annotations.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
length int
The number of items in the tuple.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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