MessageBody.fromJson constructor

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

Implementation

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