api_sentinel 0.0.1
api_sentinel: ^0.0.1 copied to clipboard
A lightweight Dio-powered API service for Flutter that automatically logs requests, handles errors elegantly, and provides a floating in-app debug overlay with real-time logs, JSON inspection, and syn [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add api_sentinelWith Flutter:
$ flutter pub add api_sentinelThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
api_sentinel: ^0.0.1Alternatively, 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:api_sentinel/api_sentinel.dart';