RewardResponse.fromJson constructor
Implementation
factory RewardResponse.fromJson(Map<String, dynamic> json) {
return RewardResponse(
pubkey: SolAddress.uncheckCurve(json["pubkey"]),
lamports: BigintUtils.parse(json["lamports"]),
postBalance: BigintUtils.tryParse(json["postBalance"]),
rewardType: json["rewardType"],
commission: json["commission"]);
}