InflationReward.fromJson constructor

InflationReward.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory InflationReward.fromJson(Map<String, dynamic> json) {
  return InflationReward(
      epoch: json["epoch"],
      effectiveSlot: json["effectiveSlot"],
      amount: json["amount"],
      postBalance: json["postBalance"],
      commission: json["commission"]);
}