HandshakeResponseMessage constructor

const HandshakeResponseMessage({
  1. required String documentId,
  2. required String sessionId,
  3. required VersionVector versionVector,
  4. Snapshot? snapshot,
  5. List<Change>? changes,
  6. int protocolVersion = Protocol.protocolVersion,
})

Constructor

Implementation

const HandshakeResponseMessage({
  required String documentId,
  required this.sessionId,
  required this.versionVector,
  this.snapshot,
  this.changes,
  this.protocolVersion = Protocol.protocolVersion,
}) : super(MessageType.handshakeResponse, documentId);