TokenRecord class

Inheritance

Constructors

TokenRecord({required MetaDataKey key, required int bump, required TokenState state, required BigInt? ruleSetRevision, required SolAddress? delegate, required TokenDelegateRole? delegateRole, required SolAddress? lockedTransfer})
const
TokenRecord.fromBuffer(List<int> data)
factory

Properties

bump int
final
delegate SolAddress?
final
delegateRole TokenDelegateRole?
final
hashCode int
The hash code for this object.
no setterinherited
key MetaDataKey
final
layout → StructLayout
The layout representing the structure of the object for serialization.
no setteroverride
lockedTransfer SolAddress?
final
ruleSetRevision BigInt?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state TokenState
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
Serializes the object to a map.
override
toBytes() List<int>
Converts the object to bytes using Borsh serialization.
inherited
toHex() String
Converts the object to a hexadecimal string.
inherited
toString() String
A string representation of this object.
inherited

Operators

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