VersionCopy extension

Creates a copy of this version overriding the old values if new ones are provided.

on
  • Version

Methods

copy({int? major, int? minor, int? patch, String? preRelease, String? build, String? text}) → Version
Creates a copy of this version overriding the old values
stripBuild() → Version
Returns the latest version of the app. Strips the pre-release from the version.
stripPreRelease() → Version
Returns the latest version of the app. Strips the pre-release from the version.