AddOrUpdateCustomerRequest.fromJson constructor

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

Implementation

factory AddOrUpdateCustomerRequest.fromJson(Map<String, dynamic> json) => AddOrUpdateCustomerRequest(
  dealerCustomerId: json["DealerCustomerId"],
  customerCode: json["CustomerCode"],
  password: json["Password"],
  firstName: json["FirstName"],
  lastName: json["LastName"],
  gender: json["Gender"],
  birthDate: json["BirthDate"],
  gsmNumber: json["GsmNumber"],
  email: json["Email"],
  address: json["Address"],
);