Data.fromJson constructor
Implementation
Data.fromJson(Map<String, dynamic> json) {
currencyCode = json['currencyCode'];
if (json['offerList'] != null) {
offerList = <OfferList>[];
json['offerList'].forEach((v) {
offerList!.add(new OfferList.fromJson(v));
});
}
}