closeAll<T> static method
Implementation
static Future<void> closeAll<T>([T? result]) async {
final queueCopy = List<_LayerInfo>.from(_layerQueue);
for (var i = queueCopy.length - 1; i >= 0; i--) {
final info = queueCopy[i];
await _closeLayer(info, result, true);
}
}