boolArg method

bool boolArg(
  1. String name
)

Gets the parsed command-line option named name as bool.

Implementation

bool boolArg(String name) => this[name] == true;