pathToDCli property

String? get pathToDCli

Returns the path to the DCli executable. Returns null if DCli is not on the path.

Implementation

String? get pathToDCli {
  final result = which(dcliName);

  if (result.found) {
    return result.path;
  }
  return null;
}