closeCurrentJob method

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

Implementation

Future<void> closeCurrentJob({bool withAnimations = true}) async {
  if (_currentSnackbar == null) return;
  await _currentSnackbar!.close(withAnimations: withAnimations);
}