simple_network_handler 1.0.2 copy "simple_network_handler: ^1.0.2" to clipboard
simple_network_handler: ^1.0.2 copied to clipboard

A package for handling network errors with error registry and interceptors

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add simple_network_handler

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

dependencies:
  simple_network_handler: ^1.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:simple_network_handler/simple_network_handler.dart';
1
likes
140
points
33
downloads

Publisher

verified publisherkeep-it-simple.dev

Weekly Downloads

A package for handling network errors with error registry and interceptors

Repository (GitHub)
View/report issues

Topics

#dio #network #error-handling

Documentation

API reference

License

MIT (license)

Dependencies

dartz, dio, flutter

More

Packages that depend on simple_network_handler