versionWithoutBuild function
Version
versionWithoutBuild(
- Version version
Implementation
Version versionWithoutBuild(Version version) {
return Version(
version.major,
version.minor,
version.patch,
pre: version.preRelease.isEmpty ? null : version.preRelease.join('.'),
);
}