incrementPatch method

Version incrementPatch()

Creates a new Version with the patch version number incremented.

Also clears the build and preRelease information.

Implementation

Version incrementPatch() => Version(this.major, this.minor, this.patch + 1);