removeError method

void removeError({
  1. bool focus = false,
})

Implementation

void removeError({bool focus = false}) {
  if (error != null) setError(null, focus: focus);
}