emitManualEvent static method
Future<void>
emitManualEvent({
- required SecurityEventType type,
- String? filePath,
- Map<
String, dynamic> ? raw,
Implementation
static Future<void> emitManualEvent({
required SecurityEventType type,
String? filePath,
Map<String, dynamic>? raw,
}) async {
final SecurityEvent event = SecurityEvent(
type: type,
timestamp: DateTime.now().toUtc(),
appState: _appState,
platform: _platformName,
filePath: filePath,
userId: _userId,
screen: _currentScreen,
raw: raw,
);
await _handleEvent(event);
}