error method
Sets current state to error.
Implementation
void error([Exception? exception, T? data]) {
value = EntityState<T>.error(exception, data);
}
Sets current state to error.
void error([Exception? exception, T? data]) {
value = EntityState<T>.error(exception, data);
}