which method

  1. @override
String? which(
  1. String cmd
)
override

Returns the full path location (and name) for a supplied command. Null if the command was not found.

since 0.0.1

Implementation

@override
String? which(String cmd) {
  _requireSingleCommand(cmd);
  return _whichCache.computeIfNull(cmd, pr.whichSync);
}