initialize method
Mixins should register their methods in this method, as well as editing the InitializeResult.capabilities as needed.
Implementation
@override
FutureOr<InitializeResult> initialize(InitializeRequest request) {
initialized.then((_) {
if (!supportsElicitation) {
log(
LoggingLevel.warning,
'Client does not support the elicitation capability, some '
'functionality may be disabled.',
);
}
});
return super.initialize(request);
}