dio_mocked_responses 0.9.0 copy "dio_mocked_responses: ^0.9.0" to clipboard
dio_mocked_responses: ^0.9.0 copied to clipboard

Interceptor that help you to mock backend responses in flutter project.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dio_mocked_responses

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

dependencies:
  dio_mocked_responses: ^0.9.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:dio_mocked_responses/dio_mock_interceptor.dart';
5
likes
125
points
107
downloads

Publisher

verified publisherbenoitfontaine.fr

Weekly Downloads

Interceptor that help you to mock backend responses in flutter project.

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, template_expressions

More

Packages that depend on dio_mocked_responses