menu
bloc_simple package
documentation
simple_bloc.dart
SimpleBloc<Event, T>
setError method
setError method
dark_mode
light_mode
setError
method
void
setError
(
Exception
error
)
Implementation
void setError(Exception error) => emit(SimpleState<T>.error(error.toString()));
bloc_simple package
documentation
simple_bloc
SimpleBloc<Event, T>
setError method
SimpleBloc class