isBool top-level property

Matcher isBool
final

Asserts that a value either equals true or false.

Implementation

final Matcher isBool = predicate((value) => value is bool, 'a bool')