isChecked top-level property

Matcher isChecked
final

Asserts that a value, presumably from a checkbox, is positive.

Implementation

final Matcher isChecked =
    isIn(const ['yes', 'checked', 'on', '1', 1, 1.0, true, 'true']);