getVersionCheck method
Check if the core/Server version is supported by this client
Also returns the minimum supported version
Implementation
VersionCheck getVersionCheck(core.OcsGetCapabilitiesResponseApplicationJson_Ocs_Data capabilities) {
final version = Version(
capabilities.version.major,
capabilities.version.minor,
capabilities.version.micro,
);
return VersionCheck(
versions: BuiltList([version]),
minimumVersion: minVersion,
isSupportedOverride: _isDevelopmentServerVersion(capabilities.version.string) ? true : null,
);
}