firstPreRelease property Null safety

Version firstPreRelease

Returns the first possible pre-release of this version.

Implementation

Version get firstPreRelease => Version(major, minor, patch, pre: '0');