executableArguments property

  1. @override
List<String> get executableArguments

The flags passed to the executable used to run the script of this program.

Warning

This property is deprecated on Platform. It is only implemented by the legacy LocalPlatform and FakePlatform classes, and cannot be accessed through Platform.current. Use NativePlatform to access these properties instead, accessed as NativePlatform.current.

These are the command-line entries between the executable name and the script name. Each access to executableArguments returns a new list containing the flags passed to the executable.

Implementation

@override
List<String> get executableArguments => _nativePlatform.executableArguments;