Write a new value to the element.
@override void writeValue(bool isChecked) { // Need to ignore the null on init. _setStates(checked: isChecked, emitEvent: false); }