Base event class emitted by FileSystemEntity.watch.

Implemented by

Constants

int ALL = CREATE | MODIFY | DELETE | MOVE
const
Bitfield for FileSystemEntity.watch, for enabling all of CREATE, MODIFY, DELETE and MOVE.
int CREATE = 1 << 0
const
Bitfield for FileSystemEntity.watch, to enable FileSystemCreateEvents.
int DELETE = 1 << 2
const
Bitfield for FileSystemEntity.watch, to enable FileSystemDeleteEvents.
int MODIFY = 1 << 1
const
Bitfield for FileSystemEntity.watch, to enable FileSystemModifyEvents.
int MOVE = 1 << 3
const
Bitfield for FileSystemEntity.watch, to enable FileSystemMoveEvents.

Properties

bool isDirectory
read-only
Is true if the event target was a directory.
String path
read-only
The path that triggered the event. Depending on the platform and the FileSystemEntity, the path may be relative.
int type
read-only
The type of event. See FileSystemEvent for a list of events.