factory CurrencyInfo.fromJson(Map<String, dynamic> json) { return CurrencyInfo(json['name'], json['code'], json['symbol']); }