railway_dio 0.1.1 copy "railway_dio: ^0.1.1" to clipboard
railway_dio: ^0.1.1 copied to clipboard

A Dio client factory and a Response -> Either<NetworkFailure, T> mapper for railway-oriented error handling in Flutter/Dart.

0.1.1 #

  • Added unit test suites.
  • Updated README documentation with decoder examples and cross-references.

0.1.0 #

  • Initial release of railway_dio.
  • Added buildDioClient() client factory.
  • Added NetworkFailure sealed union.
  • Added toEither() extension on Future<Response<T>>.
6
likes
160
points
114
downloads

Documentation

API reference

Publisher

verified publisherstucknot.com

Weekly Downloads

A Dio client factory and a Response -> Either<NetworkFailure, T> mapper for railway-oriented error handling in Flutter/Dart.

Repository (GitHub)
View/report issues

Topics

#dio #railway #either #error-handling #network

License

MIT (license)

Dependencies

dio, fpdart, freezed_annotation

More

Packages that depend on railway_dio