simple_rest_service 0.0.7 copy "simple_rest_service: ^0.0.7" to clipboard
simple_rest_service: ^0.0.7 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 Dart:

 $ dart pub add simple_rest_service

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 dart pub get):

dependencies:
  simple_rest_service: ^0.0.7

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: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
0
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package to help with Rest API integration.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansicolor, dio, flutter

More

Packages that depend on simple_rest_service