toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "_id": id,
      "geo": List<dynamic>.from(geo!.map((x) => x)),
      "poi_multilingual": poiMultilingual!.toJson(),
      "user_id": userId,
      "offers": List<dynamic>.from(offers!.map((x) => x)),
      "zoom": List<dynamic>.from(zoom!.map((x) => x)),
      "nature_flight": natureFlightValues.reverse![natureFlight],
      "terminal": terminal,
      "nature_presence": naturePresenceValues.reverse![naturePresence],
      "relevance": List<dynamic>.from(relevance!.map((x) => x)),
      "keywords": List<dynamic>.from(keywords!.map((x) => x)),
      "subcategoryList": List<dynamic>.from(subcategoryList!.map((x) => x)),
      "subcategory": subcategory,
      "category": categoryValues.reverse![category],
      "poi_url": poiUrl,
      "appname": appnameValues.reverse![appname],
      "sliceid": sliceidValues.reverse![sliceid],
      "levelid": levelid,
      "updated": updated,
      "lng": lng,
      "lat": lat,
      "location_text": locationText,
      "description": description,
      "mobile_number": mobileNumber,
      "email": email,
      "name": nameValues.reverse![name],
    };