HandshakeResponseMessage class

Handshake response message sent from server to client.

Inheritance

Constructors

HandshakeResponseMessage({required String documentId, required String sessionId, required VersionVector versionVector, Snapshot? snapshot, List<Change>? changes, int protocolVersion = Protocol.protocolVersion})
Constructor
const
HandshakeResponseMessage.fromJson(Map<String, dynamic> json)
Create a handshake response message from a JSON map
factory

Properties

changes → List<Change>?
The missing changes, if present
final
documentId → String
The document ID to which the message refers
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
protocolVersion → int
The wire protocol major version the server speaks.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String
The session ID to which the message refers
final
snapshot → Snapshot?
The snapshot, if present
final
type → MessageTypeValue
The message type
finalinherited
versionVector → VersionVector
The server version vector after applying snapshot and changes
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() → String
Serialize the message to a JSON string
inherited
toJson() → Map<String, dynamic>
Convert the message to a JSON map
override
toString() → String
A string representation of this object.
override

Operators

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