pindo library Null safety

A Dart wrapper for the Pindo API Check https://pindo.io for more information

Classes

Pindo
A Dart API client for pindo.io. Check www.pindo.io for more info.

Extensions

DioErrorTypeExtension
An extension to add additional operations to DioErrorType; check https://github.com/flutterchina/dio/blob/master/dio/lib/src/dio_error.dart to see all the values of DioErrorType.

Exceptions / Errors

PindoCastingError
Thrown when the response body cannot be cast as a Map
PindoError
Thrown when the http request goes wrong; contains the message and the status code. Wraps DioError
PindoUnexpectedResponseError
Thrown when the http response body does not contain what it should. Mostly happens when the endpoint for the expected data has been changed