toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['phone'] = phone;
map['full_name'] = fullName;
map['email'] = email;
map['contact_id'] = contactId;
map['new_contact'] = newContact;
map['uuid'] = uuid;
map['domain'] = domain;
map['browser'] = browser;
map['ip'] = ip;
map['address'] = address;
map['lat'] = lat;
map['lon'] = lon;
if (otherInfo != null) {
map['other_info'] = otherInfo?.toJson();
}
return map;
}