decrease method
Decreases the version by the given amounts.
Implementation
Version decrease({
int major = 0,
int minor = 0,
int patch = 0,
int build = 0,
}) {
return Version(
major: this.major - major,
minor: this.minor - minor,
patch: this.patch - patch,
build: this.build - build,
);
}