ValidatorsApy.fromJson constructor

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

Implementation

ValidatorsApy.fromJson(Map<String, dynamic> json) {
  apys = List.from(json['apys']).map((e) => Apys.fromJson(e)).toList();
  epoch = json['epoch'];
}