WriteRequest class
The request for Firestore.Write.
The first request creates a stream, or resumes an existing one from a token. When creating a new stream, the server replies with a response containing only an ID and a token, to use in the next request. When resuming a stream, the server first streams any responses later than the given token, then a response containing only an up-to-date token, to use in the next request.
Constructors
-
WriteRequest({Map<
String, String> ? labels, String? streamId, String? streamToken, List<Write> ? writes}) - WriteRequest.fromJson(Map _json)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Labels associated with this write request.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamId ↔ String?
-
The ID of the write stream to resume.
getter/setter pair
- streamToken ↔ String?
-
A stream token that was previously sent by the server.
getter/setter pair
-
streamTokenAsBytes
↔ List<
int> -
getter/setter pair
-
writes
↔ List<
Write> ? -
The writes to apply.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited