Location.fromJson constructor
Implementation
factory Location.fromJson(Map<String, dynamic> json) => Location(
event: json["event"],
frequency: json["frequency"],
page: json["page"],
pageUrl: json["pageUrl"],
element: json["element"],
conditions: json["conditions"],
logic: json["logic"],
id: json["_id"],
pageDetails: json["pageDetails"] == null
? null
: PageDetails.fromJson(json["pageDetails"]),
);