BaseBody.fromJson constructor

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

Implementation

BaseBody.fromJson(Map<String, dynamic> json)
    : apiKey = json['apiKey'],
      appName = json['appName'],
      appVersion = json['appVersion'],
      libVersion = json['libVersion'],
      env = json['env'],
      messageId = json['messageId'],
      trackingId = json['trackingId'],
      createdAt = json['createdAt'],
      samplingRate = json['samplingRate'],
      sessionId = json['sessionId'];