selectedDocumentContainer property

SignalContainer<dynamic, String, AwaitableFutureSignal<DeskDocument?>> selectedDocumentContainer
latefinal

Fetches the full DeskDocument for the given ID.

Used by hasUnpublishedChanges to read the document's crdtHlc.

Implementation

late final selectedDocumentContainer = SignalContainer(
  (String documentId) => AwaitableFutureSignal(
    () => dataSource.getDocument(documentId),
    debugLabel: 'selectedDocument',
  ),
  cache: true,
);