Target class

A specification of a set of documents to listen to.

Constructors

Target()
Target.fromJson(Map _json)

Properties

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. The client must know the state of matching documents at this time.
read / write
resumeToken ↔ String
A resume token from a prior TargetChange for an identical target. Using a resume token with a different target is unsupported and may fail.
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

Methods

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

Operators

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