toJson method
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'eventType': type.name,
'timestamp': timestamp.toIso8601String(),
'appState': appState,
'platform': platform,
'filePath': filePath,
'userId': userId,
'screen': screen?.toJson(),
'deviceInfo': deviceInfo,
'raw': raw,
};