DocumentStatusMessage class

Message containing a full snapshot.

Inheritance

Constructors

DocumentStatusMessage.new({required String documentId, Snapshot? snapshot, List<Change>? changes})
Constructor
const
DocumentStatusMessage.fromJson(Map<String, dynamic> json)
Create a snapshot message from a JSON map
factory

Properties

changes List<Change>?
The CRDT changes
final
documentId String
The document ID to which the message refers
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot → Snapshot?
The CRDT snapshot
final
type MessageTypeValue
The message type
finalinherited

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