setError method Null safety

void setError(
  1. dynamic error
)

Sets the error for the ViewModel

Implementation

void setError(dynamic error) {
  setErrorForObject(this, error);
}