StakeAccount class

Inheritance

Constructors

StakeAccount.fromBuffer(List<int> bytes)
factory
StakeAccount.fromJson(Map<String, dynamic> json)
factory
StakeAccount.initialized({required StakeMeta meta})
factory
StakeAccount.stake({required StakeMeta meta, required StakeStake stake, int? stakeFlags})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
layout Structure
The layout representing the structure of the object for serialization.
no setteroverride
meta StakeMeta?
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stake StakeStake?
final
stakeFlags 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

Constants

rewardsPool → const StakeAccount
uninitialized → const StakeAccount