Target class

A specification of a set of documents to listen to.


Target.fromJson(Map _json)


documents DocumentsTarget
A target specified by a set of document names.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
once bool
If the target should be removed once it is current and consistent.
read / write
query QueryTarget
A target specified by a query.
read / write
readTime String
Start listening after a specific read_time. [...]
read / write
resumeToken String
A resume token from a prior TargetChange for an identical target. [...]
read / write
resumeTokenAsBytes List<int>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetId int
The target ID that identifies the target on the stream. Must be a positive number and non-zero.
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. [...]