FileEvent.fromMap constructor
Implementation
factory FileEvent.fromMap(Map<String, dynamic> map) {
return FileEvent(
type: FileEventType.values[map['type'] as int],
filePath: map['filePath'] as String,
newFilePath: map['newFilePath'] as String?,
processId: map['processId'] as int,
processName: map['processName'] as String?,
timestamp: map['timestamp'] as int,
);
}