IsolateIdentity constructor
Implementation
const IsolateIdentity({
required this.index,
required this.workerCount,
}) : assert(index >= 0, 'index must be >= 0'),
assert(workerCount >= 1, 'workerCount must be >= 1'),
assert(index < workerCount, 'index must be < workerCount');