toJson method
Converts instance of Customer to json
Implementation
Map<String, dynamic> toJson() {
final customer = {
"email": email,
"phonenumber": phoneNumber ?? "",
"name": name ?? ""
};
return Utils.removeKeysWithEmptyValues(customer);
}