updatePristine method Null safety
- {bool updateParent = true}
Implementation
@protected
void updatePristine({bool updateParent = true}) {
_pristine = !_anyControlsDirty();
if (updateParent) {
parent?.updatePristine(updateParent: updateParent);
}
}