BorshOptionSized<T> class

Option Sized

An annotation for optional sized values.

@BorshOptionSized(BorshInt64())
final int? property;
Inheritance
Implemented types

Constructors

BorshOptionSized.new(BorshAnnotationSized<T> subtype, [BorshOptionType? type])
Creates an annotation for an optional sized value.
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
subtype BorshAnnotationSized<T>
The data type's annotation.
finalinherited
type BorshOptionType?
The option type (default: BorshOptionType.rust).
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