getJobDispatchersByMedium static method

List<JobDispatcher> getJobDispatchersByMedium(
  1. Type mediumName
)

Implementation

static List<JobDispatcher> getJobDispatchersByMedium(Type mediumName) {
  if (!registeredJobDispatchers.containsKey(mediumName) &&
      kAllowDebugWarnings) {
    throw ArgumentError(
        "Medium Key not found in registered jobs: $mediumName"); // another programmer error ! bruh
  }
  return registeredJobDispatchers[mediumName]!;
}