result_flow_dio 1.3.0 copy "result_flow_dio: ^1.3.0" to clipboard
result_flow_dio: ^1.3.0 copied to clipboard

Adapts Dio HTTP responses and errors to the result_flow Result type.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add result_flow_dio

With Flutter:

 $ flutter pub add result_flow_dio

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  result_flow_dio: ^1.3.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:result_flow_dio/result_flow_dio.dart';
2
likes
160
points
1
downloads

Publisher

verified publishernaifr.dev

Weekly Downloads

Adapts Dio HTTP responses and errors to the result_flow Result type.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, result_flow

More

Packages that depend on result_flow_dio