addJob method

Future<T> addJob(
  1. SnackbarController job
)

Implementation

Future<T> addJob(SnackbarController job) async {
  _snackbarList.add(job);
  final data = await _queue.add(job._show);
  _snackbarList.remove(job);
  return data;
}