incrementMinor method

Version incrementMinor()

Creates a new Version with the minor version number incremented.

Also resets the patch number to 0, and clears the build and preRelease information.

Implementation

Version incrementMinor() => Version(this.major, this.minor + 1, 0);