Skip to main content

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

Turn Dio responses into typed models. Works for JSON objects, lists, and nested payloads across current Flutter versions.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add simple_fetch

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

dependencies:
  simple_fetch: ^0.1.0

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_fetch/simple_fetch.dart';
4
likes
160
points
85
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Turn Dio responses into typed models. Works for JSON objects, lists, and nested payloads across current Flutter versions.

Repository (GitHub)
View/report issues

Topics

#dio #http #network #interceptor #middleware

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on simple_fetch