onError method
void
onError(
- dynamic onError(
- DioException dioException
inherited
Set the onError
callback for the request
Implementation
void onError(Function(DioException dioException) onError) {
_onErrorEvent = onError;
}