toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON()=>{
  'country': country,
  'state': state,
  'city': city,
  'neighborhood': neighborhood,
  'street': street,
  'placeNumber': placeNumber,
  'zipCode': zipCode
};