executableArguments property
The flags passed to the executable used to run the script in this isolate.
These are the command-line flags to the executable that precedes the script name. Provides a list every time the value is read.
Implementation
static List<String> get executableArguments => List.from(process.execArgv);