Currency.fromJson constructor

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

Implementation

factory Currency.fromJson(Map<String, dynamic> json) => Currency(
      code: json["code"],
      name: json["name"],
      symbol: json["symbol"],
    );