toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "event": event,
      "frequency": frequency,
      "page": page,
      "pageUrl": pageUrl,
      "element": element,
      "conditions": conditions,
      "logic": logic,
      "_id": id,
      "pageDetails": pageDetails?.toJson(),
    };