FileSystemEvent class final
Base event class emitted by FileSystemEntity.watch.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isDirectory → bool
-
Is
true
if the event target was a directory.final - path → String
-
The path that triggered the event.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- type → int
-
The type of event. See FileSystemEvent for a list of events.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- all → const int
-
Bitfield for FileSystemEntity.watch, for enabling all of create,
modify, delete and move.
create | modify | delete | move
- create → const int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemCreateEvents.
1 << 0
- delete → const int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemDeleteEvents.
1 << 2
- modify → const int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemModifyEvents.
1 << 1
- move → const int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemMoveEvents.
1 << 3