data_repository 1.0.0 copy "data_repository: ^1.0.0" to clipboard
data_repository: ^1.0.0 copied to clipboard

A repository layer for Flutter that unifies typed HTTP requests, interceptors, response caching, pagination and error normalisation behind one API.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add data_repository

With Flutter:

 $ flutter pub add data_repository

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

dependencies:
  data_repository: ^1.0.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:data_repository/data_repository.dart';
6
likes
0
points
271
downloads

Publisher

verified publisherwiseminds.cc

Weekly Downloads

A repository layer for Flutter that unifies typed HTTP requests, interceptors, response caching, pagination and error normalisation behind one API.

Homepage
Repository (GitHub)
View/report issues

Topics

#networking #http #rest #cache #api

License

unknown (license)

Dependencies

flutter, http, http_parser, mime, path_provider

More

Packages that depend on data_repository