Skip to main content

api_data_store 0.1.0 copy "api_data_store: ^0.1.0" to clipboard
api_data_store: ^0.1.0 copied to clipboard

Provide a safe place to call API and handle errors. Support data observer and listener.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add api_data_store

With Flutter:

 $ flutter pub add api_data_store

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

dependencies:
  api_data_store: ^0.1.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:api_data_store/api_data_store.dart';
1
likes
120
points
45
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Provide a safe place to call API and handle errors. Support data observer and listener.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on api_data_store