check method
void
check()
Sets the checkbox state to checked.
Notifies listeners of the state change. Equivalent to setting
value = CheckboxState.checked
.
Implementation
void check() {
value = CheckboxState.checked;
}