lb_commons 1.0.4 lb_commons: ^1.0.4 copied to clipboard
Various components shared between different Logbot SDK modules
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lb_commons
With Flutter:
$ flutter pub add lb_commons
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
lb_commons: ^1.0.4
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:lb_commons/api_exception.dart';
import 'package:lb_commons/auth/authentication.dart';
import 'package:lb_commons/auth/logbot_http_bearer_auth.dart';
import 'package:lb_commons/commons.dart';
import 'package:lb_commons/interfaces/api_client_interface.dart';
import 'package:lb_commons/models/query_params.dart';
import 'package:lb_commons/services/logbot_common_env.dart';
import 'package:lb_commons/services/logbot_logger.dart';