isChecked top-level property
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',
]);
Asserts that a value, presumably from a checkbox, is positive.
final Matcher isChecked = isIn(const [
'yes',
'checked',
'on',
'1',
1,
1.0,
true,
'true',
]);