handlePluginVersionCheck method
Handle a 'plugin.versionCheck' request.
Throw a RequestFailure if the request could not be handled.
Implementation
Future<PluginVersionCheckResult> handlePluginVersionCheck(
PluginVersionCheckParams parameters) async {
_sdkPath = parameters.sdkPath;
var versionString = parameters.version;
var serverVersion = Version.parse(versionString);
return PluginVersionCheckResult(
isCompatibleWith(serverVersion), name, version, fileGlobsToAnalyze,
contactInfo: contactInfo);
}