Creates the context of worker id out of workerCount.
id
workerCount
const WorkerContext({required this.id, required this.workerCount});