TargetChange class

Targets being watched have changed.


TargetChange.fromJson(Map _json)


cause Status
The error that resulted in this change, if applicable.
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
readTime ↔ String
The consistent read_time for the given target_ids (omitted when the target_ids are not at a consistent snapshot). The stream is guaranteed to send a read_time with target_ids empty whenever the entire stream reaches a new consistent snapshot. ADD, CURRENT, and RESET messages are guaranteed to (eventually) result in a new consistent snapshot (while NO_CHANGE and REMOVE messages are not). For a given stream, read_time is guaranteed to be monotonically increasing.
read / write
resumeToken ↔ String
A token that can be used to resume the stream for the given target_ids, or all targets if target_ids is empty. Not set on every target change.
read / write
resumeTokenAsBytes ↔ List<int>
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
targetChangeType ↔ String
The type of change that occurred. Possible string values are: [...]
read / write
targetIds ↔ List<int>
The target IDs of targets that have changed. If empty, the change applies to all targets. The order of the target IDs is not defined.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() → Map<String, Object>
toString() → String
Returns a string representation of this object.


operator ==(Object other) → bool
The equality operator. [...]