change method
Changes the given parts, returning a new instance on Version
Implementation
Version change(
{int? major,
int? minor,
int? patch,
List<dynamic>? build,
List<dynamic>? preRelease}) =>
Version(
major ?? this.major,
minor ?? this.minor,
patch ?? this.patch,
build: (build ?? this.build).asString,
pre: (preRelease ?? this.preRelease).asString,
);