BorshVecSized<T> class
Vec Sized
An annotation for dynamically sized arrays with sized data types.
@BorshVecSized(BorshInt64())
final List<int> property;
- Inheritance
-
- Object
- BorshAnnotation<
List< T> > - BorshVecSized
- Implemented types
Constructors
-
BorshVecSized.new(BorshAnnotationSized<
T> subtype, int capacity) -
Creates an annotation for a dynamically sized array with sized data types.
const
Properties
- capacity → int
-
The maximum length.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subtype
→ BorshAnnotationSized<
T> -
The data type's annotation.
finalinherited
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