PageViewMessageBody.fromJson constructor

PageViewMessageBody.fromJson(
  1. Map<String, dynamic> json
)

Implementation

PageViewMessageBody.fromJson(Map<String, dynamic> json) {
  anonId = json['anonId'];
  userId = json['userId'];
  userType = json['userType'];
  eventType = json['eventType'];
  eventLocation = json['eventLocation'];
  deviceType = json['deviceType'];
  pageType = json['pageType'];
  scrollDepth = json['scrollDepth'];
  pageLength = json['pageLength'];
  userSourceData = json['userSourceData'];
  clientId = json['clientId'];
  idleTimeSpent = json['idleTimeSpent'];
  activeTimeSpent = json['activeTimeSpent'];
  totalTimeSpent = json['totalTimeSpent'];
  contentId = json['contentId'];
  osVersion = json['osVersion'];
  adblocker = json['adblocker'];
  premiumContent = json['premiumContent'];
  unlockedStatus = json['unlockedStatus'];
  accessType = json['accessType'];
  url = json['url'];
  osName = json['osName'];
  browser = json['browser'];
  userAgent = json['userAgent'];
  mobileModel = json['mobileModel'];
}