toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['browser'] = this.browser;
  data['osVersion'] = this.osVersion;
  data['osName'] = this.osName;
  data['mobileModel'] = this.mobileModel;
  data['deviceType'] = this.deviceType;
  data['userAgent'] = this.userAgent;
  data['url'] = this.url;
  data['userSourceData'] = this.userSourceData;
  data['isCookieBlocked'] = this.isCookieBlocked;
  data['anonId'] = this.anonId;
  data['userId'] = this.userId;
  data['paywallId'] = this.paywallId;
  data['numOfCta'] = this.numOfCta;
  data['paywallType'] = this.paywallType;
  data['paywallDisplayType'] = this.paywallDisplayType;
  data['contentId'] = this.contentId;
  data['clientId'] = this.clientId;
  data['eventType'] = this.eventType;
  data['eventLocation'] = this.eventLocation;
  data['clickAction'] = this.clickAction;
  return data;
}