toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'givenName': givenName,
'familyName': familyName,
'addressLines': addressLines,
'locality': locality,
'administrativeArea': administrativeArea,
'postalCode': postalCode,
'country': country,
'countryCode': countryCode,
'subAdministrativeArea': subAdministrativeArea,
'subLocality': subLocality,
'emailAddress': emailAddress,
'phoneNumber': phoneNumber,
};
}