isPreRelease property

bool isPreRelease

Indicates that the version is a pre-release. Returns true if preRelease has any segments, otherwise false

Implementation

bool get isPreRelease => _preRelease.isNotEmpty;