void writeValue(value)

Write a new value to the element.

Source

void writeValue(dynamic value) {
  this
      ._renderer
      .setElementProperty(this._elementRef.nativeElement, "checked", value);
}