dart:io
FileSystemEvent class
Base event class emitted by FileSystemEntity.watch.
- Implementers
Properties
- isDirectory → bool
final
- Is
true
if the event target was a directory. [...] - path → String
final
- The path that triggered the event. [...]
- 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.
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.
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]
Constants
- ALL → const int
-
create | modify | delete | move
- all → const int
- Bitfield for FileSystemEntity.watch, for enabling all of create, modify, delete and move.
create | modify | delete | move
- CREATE → const int
-
1 << 0
- create → const int
- Bitfield for FileSystemEntity.watch, to enable FileSystemCreateEvents.
1 << 0
- DELETE → const int
-
1 << 2
- delete → const int
- Bitfield for FileSystemEntity.watch, to enable FileSystemDeleteEvents.
1 << 2
- MODIFY → const int
-
1 << 1
- modify → const int
- Bitfield for FileSystemEntity.watch, to enable FileSystemModifyEvents.
1 << 1
- MOVE → const int
-
1 << 3
- move → const int
- Bitfield for FileSystemEntity.watch, to enable FileSystemMoveEvents.
1 << 3