toJson method
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
};
}