isMainWorker property

bool isMainWorker

Implementation

bool get isMainWorker => workerIndex == 0;