pindo_client library

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

Classes

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

Extensions

DioErrorTypeExtension on DioErrorType
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