List<String> executableArguments

Returns the flags passed to the executable used to run the script in this isolate. These are the command-line flags between the executable name and the script name. Each fetch of executableArguments returns a new List, containing the flags passed to the executable.

Source

static List<String> get executableArguments => _Platform.executableArguments;