onFailedResponse method
Implementation
onFailedResponse({String error = ""}){
emit(GenericFailedState<T>(state.data, !state.changed, error));
}
onFailedResponse({String error = ""}){
emit(GenericFailedState<T>(state.data, !state.changed, error));
}