SecurityEvent class

A normalized security event with metadata.

Constructors

SecurityEvent({required SecurityEventType type, required DateTime timestamp, required String appState, required String platform, String? filePath, String? userId, ScreenContext? screen, Map<String, dynamic>? deviceInfo, Map<String, dynamic>? raw})
const

Properties

appState String
final
deviceInfo Map<String, dynamic>?
final
filePath String?
final
hashCode int
The hash code for this object.
no setterinherited
platform String
final
raw Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screen ScreenContext?
final
timestamp DateTime
final
type SecurityEventType
final
userId String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parseType(String value) SecurityEventType