setError method

void setError(
  1. dynamic error
)

Sets the error for the ViewModel

Implementation

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