setError method
Sets the error without touching the value (e.g. from a server response).
Implementation
void setError(String? message) => _error.value = message;
Sets the error without touching the value (e.g. from a server response).
void setError(String? message) => _error.value = message;