setValidity method

void setValidity(
  1. bool? isValid
)

Implementation

void setValidity(bool? isValid) => this._isValid = isValid;