isFlag property

bool isFlag

Whether the option is boolean-valued flag.

Implementation

bool get isFlag => type == OptionType.flag;