toJson method
Implementation
Map<String, dynamic> toJson() => {
if (country != null) 'country': country!.toJson(),
'addressLine1': addressLine1,
'addressLine2': addressLine2,
if (city != null) 'city': city!,
if (province != null) 'province': province!,
};