kashi_core 0.1.1
kashi_core: ^0.1.1 copied to clipboard
Flutter client foundation for kashi APIs. Dio client that unwraps the { data } envelope into typed failures, single-flight token refresh, secure session storage, and a Riverpod auth controller with a [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add kashi_coreWith Flutter:
$ flutter pub add kashi_coreThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
kashi_core: ^0.1.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:kashi_core/kashi_core.dart';