IsolateIdentity constructor

const IsolateIdentity({
  1. required int index,
  2. required int workerCount,
})

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');