isProtocolVersionSupported method

Future<bool> isProtocolVersionSupported({
  1. required SemanticVersion supportedVersion,
})

Implementation

Future<bool> isProtocolVersionSupported({
  required SemanticVersion supportedVersion,
}) async {
  _protocolVersion ??= await serviceClient.getVersion();
  return isProtocolVersionSupportedNow(supportedVersion: supportedVersion);
}