MessageBodyEvent.fromJson constructor

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

Implementation

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