handlers property
Implementation
static final Map<Type, OnErrorRequestResponseHandler> handlers =
<Type, OnErrorRequestResponseHandler>{
BadRequestException: (ResponseException exception) async =>
exception.response,
InternalServerErrorException: (ResponseException exception) async =>
exception.response,
UnauthorizedException: (ResponseException exception) async =>
exception.response,
};