DocumentAwareness class

Document awareness state

Constructors

DocumentAwareness({required String documentId, required Map<String, ClientAwareness> states})
Constructor
const
DocumentAwareness.fromJson(Map<String, dynamic> json)
from json
factory

Properties

documentId → String
document id
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
states → Map<String, ClientAwareness>
map of client awareness states
final

Methods

copyWith({String? documentId, Map<String, ClientAwareness>? states}) → DocumentAwareness
copy with
copyWithRemovedClient(String clientId) → DocumentAwareness
Creates a new DocumentAwareness with the removed client awareness.
copyWithUpdatedClient(ClientAwareness client) → DocumentAwareness
Creates a new DocumentAwareness with the updated client awareness.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
to json
toString() → String
A string representation of this object.
override

Operators

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