executableArguments property

  1. @Deprecated('Use NativePlatform.current!.List!<executableArguments instead')
List<String> get executableArguments
inherited

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

@Deprecated('Use NativePlatform.current!.List!<executableArguments instead')
List<String> get executableArguments => throw UnimplementedError(
  'Use NativePlatform.current!.executableArguments instead',
);