toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '1e8caaeb',
'\$name': 'PostAddress',
'streetLine1': streetLine1,
'streetLine2': streetLine2,
'city': city,
'state': state,
'countryIso2': countryIso2,
'postCode': postCode,
};
// Finished toJson.
return returnValue;
}