FileSystemEvent class
Base event class emitted by FileSystemEntity.watch.
- Implemented by
Constants
- ALL → int
-
Bitfield for FileSystemEntity.watch, for enabling all of CREATE, MODIFY, DELETE and MOVE.
CREATE | MODIFY | DELETE | MOVE
- CREATE → int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemCreateEvents.
1 << 0
- DELETE → int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemDeleteEvents.
1 << 2
- MODIFY → int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemModifyEvents.
1 << 1
- MOVE → int
-
Bitfield for FileSystemEntity.watch, to enable FileSystemMoveEvents.
1 << 3
Properties
- isDirectory → bool final
-
Is
true
if the event target was a directory. - path → String final
-
The path that triggered the event. Depending on the platform and the FileSystemEntity, the path may be relative.
- type → int final
-
The type of event. See FileSystemEvent for a list of events.
- hashCode → int read-only, inherited
-
The hash code for this object.
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- toString(
) → String inherited -
Returns a string representation of this object.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/FileSystemEvent-class.html