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