dio_flutter_transformer2 4.0.1
dio_flutter_transformer2: ^4.0.1 copied to clipboard

A dio transformer espically for flutter, by which the json decoding will be in background with [compute] function in flutter sdk.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dio_flutter_transformer2

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

dependencies:
  dio_flutter_transformer2: ^4.0.1

Alternatively, your editor might support 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:dio_flutter_transformer2/dio_flutter_transformer2.dart';
2
likes
130
pub points
76%
popularity

A dio transformer espically for flutter, by which the json decoding will be in background with [compute] function in flutter sdk.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, flutter

More

Packages that depend on dio_flutter_transformer2