showInputBox method
Show an input box and return user input.
Implementation
Future<String?> showInputBox({
String? prompt,
String? placeholder,
String? value,
bool password = false,
}) async {
final resp = await _protocol.sendRequest('vscode/showInputBox', {
'prompt': ?prompt,
'placeholder': ?placeholder,
'value': ?value,
'password': password,
});
if (resp.isSuccess) return resp.result as String?;
return null;
}