boolValueParser top-level property

ValueParser<bool> boolValueParser
final

A ValueParser that parses boolean values using stringChoiceValueParser.

Implementation

final boolValueParser = stringChoiceValueParser([true, false]);