cancelAllJobs method

Future<void> cancelAllJobs({
  1. bool withAnimations = true,
})

Implementation

Future<void> cancelAllJobs({bool withAnimations = true}) async {
  await _currentSnackbar?.close(withAnimations: withAnimations);
  _queue.cancelAllJobs();
  _snackbarList.clear();
}