protocolVersion property

ProtocolVersion? get protocolVersion

The latest version of the Model Context Protocol that the client supports.

The client MAY decide to support older versions as well.

May be null if the version is not recognized.

Implementation

ProtocolVersion? get protocolVersion =>
    ProtocolVersion.tryParse(_value['protocolVersion'] as String? ?? '');