findSync method

String? findSync({
  1. bool cache = true,
})

Implementation

String? findSync({bool cache = true}) {
  if (_whichResults.containsKey(cmd)) {
    return _whichResults[cmd];
  }
  final result = whichSync(cmd);
  _whichResults[cmd] = result;
  return result;
}