isSingle property

bool get isSingle

Whether the option takes a single value.

Implementation

bool get isSingle => type == OptionType.single;