StakeActivation class
Stake Activation
- Inheritance
-
- Object
- Serializable
- StakeActivation
Constructors
- StakeActivation.new({required StakeActivationState state, required u64 active, required u64 inactive})
-
Epoch activation information for a stake account.
const
-
StakeActivation.fromJson(Map<
String, dynamic> json) -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.factory
Properties
- active → u64
-
The stake active during the epoch.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactive → u64
-
The stake inactive during the epoch.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → StakeActivationState
-
The stake account's activation state.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serialises
this
class into a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tryFromJson(
Map< String, dynamic> ? json) → StakeActivation? -
Creates an instance of
this
class from the constructor parameters defined in thejson
object.override