flag method

bool flag(
  1. String name
)

Reads a flag.

Implementation

bool flag(String name) => argResults?.flag(name) ?? false;