Rates.fromJson constructor

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

Implementation

Rates.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  isFixed = json['isFixed'];
  currency = json['currency'];
  rate = json['rate'];
}