toJson method
Creates a json from the object
Implementation
Map toJson() {
return {
'phone_number': phoneNumber,
'first_name': firstName,
'last_name': lastName,
'vcard': vcard,
}..removeWhere((_, v) => v == null);
}
Creates a json from the object
Map toJson() {
return {
'phone_number': phoneNumber,
'first_name': firstName,
'last_name': lastName,
'vcard': vcard,
}..removeWhere((_, v) => v == null);
}