From 1b13b732b87f55450402cb5fc34faaa1d80dcb6c Mon Sep 17 00:00:00 2001 From: Fatimah Alshammari Date: Sun, 23 Oct 2022 15:51:15 +0300 Subject: [PATCH] fix issues --- lib/models/generic_response_model.dart | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/models/generic_response_model.dart b/lib/models/generic_response_model.dart index b96098e..c5a6b92 100644 --- a/lib/models/generic_response_model.dart +++ b/lib/models/generic_response_model.dart @@ -789,30 +789,13 @@ class GenericResponseModel { getCEIDFFStructureList = json['GetCEIDFFStructureList']; getCEITransactionList = json['GetCEITransactionList']; getCcpTransactionsList = json['GetCcpTransactionsList']; - if (json['GetContactDetailsList'] != null) { - getContactDetailsList = []; - json['GetContactDetailsList'].forEach((v) { - getContactDetailsList!.add(GetContactDetailsList.fromJson(v)); - }); - } - if (json['GetContactColsStructureList'] != null) { - getContactColsStructureList = []; - json['GetContactColsStructureList'].forEach((v) { - getContactColsStructureList!.add(GetContactColsStructureList.fromJson(v)); - }); - } - getContactColsStructureList = json['GetContactColsStructureList']; - getContactDetailsList = json['GetContactDetailsList']; - getContactDffStructureList = json['GetContactDffStructureList']; getContactNotificationBodyList = json["GetContactNotificationBodyList"] == null ? null : GetContactNotificationBodyList.fromJson(json["GetContactNotificationBodyList"]); - if (json['GetContactColsStructureList'] != null) { getContactColsStructureList = []; json['GetContactColsStructureList'].forEach((v) { getContactColsStructureList!.add(GetContactColsStructureList.fromJson(v)); }); } - if (json['GetContactDetailsList'] != null) { getContactDetailsList = []; json['GetContactDetailsList'].forEach((v) { @@ -825,8 +808,6 @@ class GenericResponseModel { getContactDffStructureList!.add(GetContactDffStructureList.fromJson(v)); }); } - // getContactDetailsList = json['GetContactDetailsList']; - // getContactDffStructureList = json['GetContactDffStructureList']; getContactNotificationBodyList = json["GetContactNotificationBodyList"] == null ? null : GetContactNotificationBodyList.fromJson(json["GetContactNotificationBodyList"]); if (json['GetCountriesList'] != null) {