pauseAll method
void
pauseAll()
Implementation
void pauseAll() async {
var docIds = [];
docIds.addAll(documents.keys.toList());
for (var docPath in docIds) {
if (documents.containsKey(docPath)) {
documents[docPath]?.pause();
printDebug('Pausing document reference: $docPath');
}
}
var colIds = [];
colIds.addAll(collections.keys.toList());
for (var colPath in colIds) {
if (collections.containsKey(colPath)) {
collections[colPath]?.pause();
printDebug('Pausing collection reference: $colPath');
}
}
}