navigate method

Future<BridgeMessage> navigate({
  1. required String filePath,
  2. int? line,
  3. int? column,
  4. String? symbol,
})

Navigate to a symbol or position in the IDE.

Implementation

Future<BridgeMessage> navigate({
  required String filePath,
  int? line,
  int? column,
  String? symbol,
}) => request(
  BridgeMessage(
    type: BridgeMessageType.navigate,
    payload: {
      'filePath': filePath,
      'line': ?line,
      'column': ?column,
      'symbol': ?symbol,
    },
  ),
);