setError method
void
setError(
- dynamic error
Implementation
void setError(error) {
if (onError != null) onError!(error);
if (!_isDisposed) notifyListeners();
}
void setError(error) {
if (onError != null) onError!(error);
if (!_isDisposed) notifyListeners();
}