isPrimary property

bool isPrimary
getter/setter pair

True in the first isolate, the one that runs main() and starts the server. False in the isolates it starts. It is the same as isolateId == 1.

Implementation

bool isPrimary = true;