InflationRate.fromJson constructor

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

Implementation

factory InflationRate.fromJson(Map<String, dynamic> json) {
  return InflationRate(
      total: json["total"],
      validator: json["validator"],
      foundation: json["foundation"],
      epoch: json["epoch"]);
}