String executable

The path of the executable used to run the script in this isolate.

The literal path used to identify the script. This path might be relative or just be a name from which the executable was found by searching the system path.

Use resolvedExecutable to get an absolute path to the executable.

Source

static String get executable => _Platform.executable;