WatchEvent class
WatchEvent
{ "type": WatchEventType "path": FilePath }
Clients may not extend, implement or mix-in this class.
Constructors
- WatchEvent(WatchEventType type, String path)
- WatchEvent.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- path ↔ String
-
The absolute path of the file or directory that changed.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ WatchEventType
-
The type of change represented by this event.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Returns a JSON presentation of the object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override