WatchEventType class

WatchEventType

enum { ADD MODIFY REMOVE }

Clients may not extend, implement or mix-in this class.

Implemented types

Constructors

WatchEventType(String name)
factory
WatchEventType.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the enumerated value. This should match the name of the static getter which provides access to this enumerated value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

ADD → const WatchEventType
An indication that the file or directory was added.
MODIFY → const WatchEventType
An indication that the file was modified.
REMOVE → const WatchEventType
An indication that the file or directory was removed.
VALUES → const List<WatchEventType>
A list containing all of the enum values that are defined.