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