factory Version.fromMajorAndMinor({ required final int major, required final int minor, }) { return Version(encodedVersion: (minor << 16) | major); }