fromJson method

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

Implementation

void fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  phone = json['phone'];
  language = json['language'];
  subscriptions = json['subscriptions'];
  verified = json['verified'];
  ver_code = json['ver_code'];
  var ver_expire_time_json = json['ver_expire_time'];
  ver_expire_time = ver_expire_time_json != null
      ? DateTime.tryParse(ver_expire_time_json)
      : null;
  custom_hdr = json['custom_hdr'];
  custom_dat = json['custom_dat'];
}