VoteAccountStatus.fromJson constructor
Implementation
factory VoteAccountStatus.fromJson(Map<String, dynamic> json) {
return VoteAccountStatus(
current: (json["current"] as List)
.map((e) => VoteAccountInfo.fromJson(e))
.toList(),
delinquent: (json["delinquent"] as List)
.map((e) => VoteAccountInfo.fromJson(e))
.toList());
}