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