supportsRoots property

bool get supportsRoots

Whether or not the connected client supports listRoots.

Only safe to call after calling initialize on super since this is based on the client capabilities.

Implementation

bool get supportsRoots => clientCapabilities.roots != null;