StoreSettingDTO.fromJson constructor

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

Implementation

StoreSettingDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  campaign =
      json['campaign'] != null ? Campaign.fromJson(json['campaign']) : null;
  currency =
      json['currency'] != null ? Currency.fromJson(json['currency']) : null;
  customer =
      json['customer'] != null ? Customer.fromJson(json['customer']) : null;
  email = json['email'] != null ? Email.fromJson(json['email']) : null;
  order = json['order'] != null ? Order.fromJson(json['order']) : null;
  product =
      json['product'] != null ? Product.fromJson(json['product']) : null;
  sms = json['sms'] != null ? Sms.fromJson(json['sms']) : null;
  analytic = json['analytic'];
}