onError method
Implementation
@override
void onError(RestResponseType responseType, String response) {
bloc.handleError(PublishedErrorType.general);
hadError = true;
}
@override
void onError(RestResponseType responseType, String response) {
bloc.handleError(PublishedErrorType.general);
hadError = true;
}