emitOnResponse method
Implementation
@override
void emitOnResponse(FeedbackRepoUpdateResponse response) {
if (response.taskDone) {
emit(const UpdateSucceededState());
} else {
emit(const UpdateFailedState());
}
}
@override
void emitOnResponse(FeedbackRepoUpdateResponse response) {
if (response.taskDone) {
emit(const UpdateSucceededState());
} else {
emit(const UpdateFailedState());
}
}