Checks to see if the supplied version is a valid QR code version
static bool isSupportedVersion(int version) => version == auto || (version >= min && version <= max);