Map<String, dynamic> toJson() { final map = <String, dynamic>{}; map['latitude'] = latitude; map['longitude'] = longitude; return map; }