WatchEvent class
Event represents a single event to a watched resource.
Constructors
- WatchEvent({required RawExtension object, required String type})
-
Default constructor.
const
-
WatchEvent.fromJson(Map<
String, dynamic> json) -
Creates a WatchEvent from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- object → RawExtension
-
Object is:
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a WatchEvent instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited