InitializeResult class
Result of the initialize request: the server's advertised
capabilities and optional serverInfo.
Constructors
-
InitializeResult({Map<
String, Object?> capabilities = const {}, ServerInfo? serverInfo}) -
const
-
InitializeResult.fromJson(Map<
String, Object?> json) -
factory
Properties
-
capabilities
→ Map<
String, Object?> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverInfo → ServerInfo?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
supports(
String capability) → bool -
Whether the server advertised support for
capability(e.g.hoverProvider), meaning a truthy value in capabilities. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited