restartRequest method
restart is called by the client when the user invokes a restart (for example with the button on the debug toolbar).
The base implementation of this method throws. It is up to a debug adapter
that advertises supportsRestartRequest
to override this method.
Implementation
@override
Future<void> restartRequest(
Request request,
RestartArguments? args,
void Function() sendResponse,
) async {
throw DebugAdapterException(
'restartRequest was called on an adapter that '
'does not provide an implementation',
);
}