AccountBalanceRequest.fromMap constructor
Implementation
factory AccountBalanceRequest.fromMap(Map<String, dynamic> map) {
return AccountBalanceRequest(
NetworkIdentifier.fromMap(map["network_identifier"]),
AccountIdentifier.fromMap(map["account_identifier"]),
PartialBlockIdentifier.fromMap(map["block_identifier"]),
map["currencies"] != null
? (map["currencies"] as List)
.map((e) => Currency.fromMap(e))
.toList()
: null);
}