writeValue method

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

Write a new value to the element.

Implementation

@override
void writeValue(bool isChecked) {
  checked = isChecked;
  _changeDetector.markForCheck();
}