call static method

void call(
  1. String key, {
  2. dynamic params,
})

Implementation

static void call(String key, {dynamic params}) {
  _workers[key]?.work(((newStatus) {
    _workers[key] = newStatus;
  }), params);
}