toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'contact',
if (extra != null) '@extra': extra,
'phone_number': phone_number,
'first_name': first_name,
'last_name': last_name,
'vcard': vcard,
'user_id': user_id
};
}