resolveExecutable static method

Future<String> resolveExecutable()

Implementation

static Future<String> resolveExecutable() async {
  return discoverSidecarExecutable(
    isWindows: Platform.isWindows,
    pathSeparator: Platform.pathSeparator,
    environment: Platform.environment,
    resolvedExecutableDirectory: File(
      Platform.resolvedExecutable,
    ).parent.path,
    currentDirectory: Directory.current.path,
    fileExists: (path) => File(path).exists(),
  );
}