blvckleg_dart_core 0.0.4
blvckleg_dart_core: ^0.0.4 copied to clipboard
Implementation of base client with token injection, refresh interceptor and REST for platform microservices provided by blvckleg.dev and subdomains. Settings for Common blvckleg.dev apps
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add blvckleg_dart_coreThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
blvckleg_dart_core: ^0.0.4Alternatively, 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:blvckleg_dart_core/abstract/backend_abstract.dart';
import 'package:blvckleg_dart_core/adapter/login_auth_adapter.dart';
import 'package:blvckleg_dart_core/exception/session_expired.dart';
import 'package:blvckleg_dart_core/interceptor/auth_interceptor.dart';
import 'package:blvckleg_dart_core/models/auth/login_response_model.dart';
import 'package:blvckleg_dart_core/models/auth/login_response_user.dart';
import 'package:blvckleg_dart_core/models/settings/settings_model.dart';
import 'package:blvckleg_dart_core/models/user/user_model.dart';
import 'package:blvckleg_dart_core/service/auth_backend_service.dart';
import 'package:blvckleg_dart_core/settings/settings.dart';
import 'package:blvckleg_dart_core/util/util.dart';