toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  data['city'] = this.city;
  data['locationName'] = this.locationName;
  return data;
}