WorkerContext constructor

const WorkerContext({
  1. required int id,
  2. required int workerCount,
})

Creates the context of worker id out of workerCount.

Implementation

const WorkerContext({required this.id, required this.workerCount});