ValidatorStakeInfo.fromJson constructor
ValidatorStakeInfo.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ValidatorStakeInfo.fromJson(Map<String, dynamic> json) {
return ValidatorStakeInfo(
activeStakeLamports: json["activeStakeLamports"],
transientStakeLamports: json["transientStakeLamports"],
lastUpdateEpoch: json["lastUpdateEpoch"],
transientSeedSuffixStart: json["transientSeedSuffixStart"],
transientSeedSuffixEnd: json["transientSeedSuffixEnd"],
status: ValidatorStakeInfoStatus.fromValue(json["status"]),
voteAccountAddress: json["voteAccountAddress"]);
}