resolvedExecutable property
String resolvedExecutableThe path of the executable used to run the script in this isolate after it has been resolved by the OS.
This is the absolute path, with all symlinks resolved, to the executable used to run the script.
Source
static String get resolvedExecutable => _Platform.resolvedExecutable;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/Platform/resolvedExecutable.html