AccountState class

Account state.

Inheritance

Constructors

AccountState.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
layout → StructLayout
The layout representing the structure of the object for serialization.
no setteroverride
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
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.
override

Operators

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

Static Properties

staticLayout ↔ StructLayout
getter/setter pair

Static Methods

fromName(String? value) AccountState
fromValue(int? value) AccountState

Constants

frozen → const AccountState
Account has been frozen by the mint freeze authority. Neither the account owner nor the delegate are able to perform operations on this account.
initialized → const AccountState
Account is initialized; the account owner and/or delegate may perform permitted operations on this account
uninitialized → const AccountState
Account is not yet initialized
values → const List<AccountState>