clearError method

void clearError()

Implementation

void clearError() => state = state.copyWith(clearError: true);