Data.fromJson constructor

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

Implementation

Data.fromJson(Map<String, dynamic> json) {
  zainbox =
  json['zainbox'] != null ? Zainbox.fromJson(json['zainbox']) : null;
  account2AccountBilling = json['account2AccountBilling'] != null
      ? Account2AccountBilling.fromJson(json['account2AccountBilling'])
      : null;
  interBankBilling = json['interBankBilling'] != null
      ? Account2AccountBilling.fromJson(json['interBankBilling'])
      : null;
}