simple_rest_service 0.2.0 copy "simple_rest_service: ^0.2.0" to clipboard
simple_rest_service: ^0.2.0 copied to clipboard

A flutter package to help with Rest API integration.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add simple_rest_service

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

dependencies:
  simple_rest_service: ^0.2.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_rest_service/entities/rest_response.dart';
import 'package:simple_rest_service/entities/rest_status_code.dart';
import 'package:simple_rest_service/interceptors/auth_interceptor.dart';
import 'package:simple_rest_service/interceptors/print_log_interceptor.dart';
import 'package:simple_rest_service/rest_service.dart';
import 'package:simple_rest_service/services/rest_service.dart';
import 'package:simple_rest_service/services/rest_service_interface.dart';
3
likes
160
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package to help with Rest API integration.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ansicolor, dio, flutter

More

Packages that depend on simple_rest_service