usageException method
Calling this will throw a UsageException
with message
that should be
caught by CommandRunner
and used to set the exit code accordingly and
print out usage information.
Implementation
void usageException(String message) {
if (_usageException != null) {
_usageException!(message);
}
throw UsageException(message, '');
}