Version constructor
Default constructor for Version.
Params:
- major: the major field of the version.
- minor: the minor field of the version.
- patch: the patch field of the version.
- buildNumber: the build number field of the version.
Implementation
factory Version({
required int major,
required int minor,
required int patch,
required int buildNumber,
}) {
return VersionImpl(
major: major,
minor: minor,
patch: patch,
buildNumber: buildNumber,
);
}