isFirstPreRelease property Null safety

bool isFirstPreRelease

Returns whether this is the first possible pre-release of its version.

Implementation

bool get isFirstPreRelease => preRelease.length == 1 && preRelease.first == 0;