which function

Future<String> which(
  1. String command,
  2. {@deprecated Map<String, String> env,
  3. Map<String, String> environment}
)

Implementation

Future<String> which(String command,
    {@deprecated Map<String, String> env,
    Map<String, String> environment}) async {
  return whichSync(command,
      // ignore: deprecated_member_use, deprecated_member_use_from_same_package
      env: env,
      environment: environment);
}