CustomerDetail.fromJson constructor

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

Implementation

CustomerDetail.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  name = json['name'];
  surname = json['surname'];
  isVerified = json['isVerified'];
  phoneNumber = json['phoneNumber'];
  socialSecurityNo = json['socialSecurityNo'];
  birthday = json['birthday'];
  gender = json['gender'];
  companyName = json['companyName'];
  taxOffice = json['taxOffice'];
  taxNumber = json['taxNumber'];
  fullName = json['fullName'];
}