VSCodeAdapter class abstract

Abstract interface for sending requests to VS Code

Implementations of this interface handle the actual communication with the VS Code extension via their preferred transport mechanism.

The primary implementation is VSCodeBridgeServer in the tom_vscode_bridge package.

Implementers

Constructors

VSCodeAdapter()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendRequest(String method, Map<String, dynamic> params, {String? scriptName, Duration timeout = const Duration(seconds: 60)}) → Future<Map<String, dynamic>>
Send a request to VS Code and wait for the response
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited