addSeparator method Null safety

  1. @override
void addSeparator(
  1. String text
)
override

Adds a separator line to the usage.

In the usage text for the parser, this will appear between any options added before this call and ones added after it.

Implementation

@override
void addSeparator(String text) {
  throw UnsupportedError(
      "ArgParser.allowAnything().addSeparator() isn't supported.");
}