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

hashCode int

Get a hash code for this object.

read-only, inherited
isDirectory bool

Is true if the event target was a directory.

read-only
path String

The path that triggered the event. Depending on the platform and the FileSystemEntity, the path may be relative.

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
type int

The type of event. See FileSystemEvent for a list of events.

read-only

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited