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 new list every time the value is read.
Implementation
static List<String> get executableArguments => _Platform.executableArguments;
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/Platform/executableArguments.html