Email.fromJson constructor

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

Implementation

Email.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  sMTPHost = json['SMTPHost'];
  sMTPPort = json['SMTPPort'];
  sMTPSecure = json['SMTPSecure'];
  sMTPTLS = json['SMTPTLS'];
  sMTPEmail = json['SMTPEmail'];
  sMTPPassword = json['SMTPPassword'];
  newCampaign = json['newCampaign'];
  newOrder = json['newOrder'];
  changeOrderStatus = json['changeOrderStatus'];
}