CurrencyList.fromMap constructor
Implementation
factory CurrencyList.fromMap(Map<String, dynamic> map) {
return CurrencyList(
total: map['total'],
currencies: List<Currency>.from(
map['currencies'].map((p) => Currency.fromMap(p))),
);
}