requestState method

Future<void> requestState()

Sends a state request; the relay answers with a welcome carrying the current persisted room state.

Implementation

Future<void> requestState() async {
  await tryCatchIgnore(() {
    return client.sendMessage(
      RelayStateRequestMessage(documentId: document.documentId),
    );
  });
}