CurrencyInfo.fromJson constructor

CurrencyInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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