supportsRootsChanged property
bool
get
supportsRootsChanged
Whether or not the connected client supports reporting changes to the list of roots.
Only safe to call after calling initialize on super
since this is
based on the client capabilities.
Implementation
bool get supportsRootsChanged =>
clientCapabilities.roots?.listChanged == true;