containsOption method

  1. @override
bool containsOption(
  1. String name
)
override

Returns whether the set of parsed options includes the given name.

Implementations must define how option presence is detected.

Example:

if (containsOption('debug')) {
  print('Debug mode enabled.');
}

Implementation

@override
bool containsOption(String name) => source.containsOption(name);