On this page
FileSystemEvent class
Base event class emitted by FileSystemEntity.watch.
Properties
- hashCode → int
read-only, inherited
- The hash code for this object.
- isDirectory → bool
final
-
Is
true
if the event target was a directory. - path → String
final
- The path that triggered the event.
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
- type → int
final
- The type of event. See FileSystemEvent for a list of events.
Methods
- noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed.
- toString(
) → String inherited - A string representation of this object.
Operators
- operator ==(
Object other) → bool inherited - The equality operator.
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
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/FileSystemEvent-class.html