canRun method Null safety

bool canRun(
  1. dynamic executable,
  2. {String? workingDirectory}
)

Returns true if the executable exists and if it can be executed.

Implementation

bool canRun(dynamic executable, {String? workingDirectory});