markAsPristine method

void markAsPristine()

Mark the field as pristine (reset dirty state).

Implementation

void markAsPristine() {
  value = value.copyWith(isDirty: false);
}