Currency.fromJson constructor

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

Implementation

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