updatePristine method

  1. @protected
void updatePristine({
  1. bool updateParent = true,
})

Implementation

@protected
void updatePristine({bool updateParent = true}) {
  _pristine = !_anyControlsDirty();

  if (updateParent) {
    parent?.updatePristine(updateParent: updateParent);
  }
}