http_services library

Classes

HttpServiceBase
RequestBase<T>
ResponseBase

Extensions

DioExtensions

Exceptions / Errors

ApiException
Thrown then something goes wrong with the request networkError signals if there was an outage in connection httpCode is the received HTTP status code httpMessage is the received HTTP status message
HttpServiceException
ResponseMappingException
Thrown when something bad occurs while mapping the response
UnexpectedStatusCodeException
Thrown when expected HTTP code doesn't match the received one. expected is the expected status code actual is the received status code