disposeAll method

Future disposeAll()

Implementation

Future disposeAll() async {
  final copy = [...?_disposers];
  _disposers?.clear();
  for (final disposer in copy) {
    await disposer.call();
  }
}