RpcRewardInfo class
- Annotations
-
- @freezed
Constructors
- RpcRewardInfo({required RpcBigInt totalReward, required RpcBigInt blockProducingReward, required RpcBigInt votingReward, @Default('0') RpcBigInt producedBlocks, @Default('0') RpcBigInt targetBlocks, @Default(false) bool allRewardsWithdrawed})
-
constfactory
-
RpcRewardInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allRewardsWithdrawed → bool
-
no setterinherited
- blockProducingReward → String
-
no setterinherited
-
copyWith
→ $RpcRewardInfoCopyWith<
RpcRewardInfo> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- producedBlocks → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetBlocks → String
-
no setterinherited
- totalReward → String
-
no setterinherited
- votingReward → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited