FileEvent class
文件事件
Constructors
- FileEvent.new({required FileEventType type, required String filePath, String? newFilePath, required int processId, String? processName, required int timestamp})
-
FileEvent.fromMap(Map<
String, dynamic> map) -
factory
Properties
- filePath → String
-
文件路径
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- newFilePath → String?
-
新文件路径(仅用于重命名事件)
final
- processId → int
-
触发事件的进程 ID
final
- processName → String?
-
触发事件的进程名称
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int
-
事件发生时间戳(毫秒)
final
- type → FileEventType
-
事件类型
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited