clearError method

void clearError(
  1. int index
)

Clears the error for an item.

Implementation

void clearError(int index) => setError(index, null);