rest property

  1. @override
List<String> get rest

The remaining command-line arguments that were not parsed as options or flags.

If -- was used to separate the options from the remaining arguments, it will not be included in this list unless parsing stopped before the -- was reached.

Implementation

@override
List<String> get rest =>
    UnmodifiableListView([..._argResults.rest, ..._moreRest]);