toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (city != null) 'city': city!,
      if (line1 != null) 'line1': line1!,
      if (line2 != null) 'line2': line2!,
      if (line3 != null) 'line3': line3!,
      if (locationName != null) 'locationName': locationName!,
      if (state != null) 'state': state!,
      if (zip != null) 'zip': zip!,
    };