ProfileData.fromJson constructor

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

Implementation

ProfileData.fromJson(Map<String, dynamic> json) {
  email = json['email'];
  firstnameAR = json['firstnameAR'];
  firstnameEN = json['firstnameEN'];
  fullnameEN = json['fullnameEN'];
  fullnameAR= json['fullnameAR'];
  gender = json['gender'];
  lastnameAR = json['lastnameAR'];
  lastnameEN = json['lastnameEN'];
  mobile = json['mobile'];
  nationalityAR = json['nationalityAR'];
  nationalityEN = json['nationalityEN'];
  sub = json['sub'];
  userType = json['userType'];
  uuid = json['uuid'];
  idn = json['idn'];
}