FXRate.fromMap constructor

FXRate.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory FXRate.fromMap(Map<String, dynamic> json) => FXRate(
      sequenceNo: json["sequenceNo"] == null ? null : json["sequenceNo"],
      id: json["id"] == null ? null : json["id"],
      name: json["name"] == null ? null : json["name"],
      iconUrl: json["iconUrl"] == null ? null : json["iconUrl"],
      amount: json["code"] == null ? null : json["code"],
      fx: json["fx"] == null ? null : json["fx"],
      currencyCode: json["currencyCode"] == null ? null : json["currencyCode"],
    );