ResponseExceptionMapper typedef
ResponseExceptionMapper =
AppNetworkResponseException<Exception, dynamic> ? Function<T>(Response<T> , Exception)
Function which takes a Dio response object and an exception and returns an optional AppHttpClientException, optionally mapping the response to a custom exception.
Implementation
typedef ResponseExceptionMapper = AppNetworkResponseException? Function<T>(
Response<T>,
Exception,
);