fromIntValue static method
- int? value
Maps wire values to the highest protocol version this SDK can use.
Implementation
static ClientProtocolVersion fromIntValue(int? value) {
if (value == null) return v0;
if (value >= v1.wireValue) return v1;
return v0;
}