response_wrapper 0.0.2
response_wrapper: ^0.0.2 copied to clipboard
The response_wrapper package offers a convenient way to handle HTTP requests and responses in Flutter applications. It includes a DioService class that encapsulates common HTTP methods such as GET, PO [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add response_wrapperThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
response_wrapper: ^0.0.2Alternatively, 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:response_wrapper/response_wrapper.dart';