writeValue method

  1. @override
void writeValue(
  1. bool isChecked
)

Write a new value to the element.

Implementation

@override
void writeValue(bool isChecked) {
  // Need to ignore the null on init.
  //if (isChecked == null) return;
  _setStates(checked: isChecked, emitEvent: false);
}