toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['id'] = id;
data['createdAt'] = createdAt;
data['isFixed'] = isFixed;
data['currency'] = currency;
data['rate'] = rate;
return data;
}