runCommand method

Future<BridgeMessage> runCommand(
  1. String command, {
  2. String? cwd,
})

Run a terminal command in the IDE.

Implementation

Future<BridgeMessage> runCommand(String command, {String? cwd}) => request(
  BridgeMessage(
    type: BridgeMessageType.runCommand,
    payload: {'command': command, 'cwd': ?cwd},
  ),
);