untrack method

Future<void> untrack(
  1. String documentId
)

Stops reporting the snapshots of documentId.

Implementation

Future<void> untrack(String documentId) async {
  _documents.remove(documentId);
  await _subscriptions.remove(documentId)?.cancel();
}