executableArguments property
List<String> executableArgumentsThe 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.
Source
static List<String> get executableArguments => _Platform.executableArguments;
© 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/executableArguments.html