isMainWorker property

bool get isMainWorker

Implementation

bool get isMainWorker => workerIndex == 0;