toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'type': type,
    'apiKey': apiKey,
    'appName': appName,
    'appVersion': appVersion,
    'libVersion': libVersion,
    'env': env,
    'libPlatform': libPlatform,
    'messageId': messageId,
    'trackingId': trackingId,
    'createdAt': createdAt,
    'sessionId': sessionId,
    'samplingRate': samplingRate
  };
}