Customer.fromJson constructor
Customer.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Customer.fromJson(Map<String, dynamic> json) => Customer(
dealerCustomerId: json["DealerCustomerId"],
masterCode: json["MasterCode"],
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"],
dealerId: json["DealerId"],
);