lb_commons 1.0.0 copy "lb_commons: ^1.0.0" to clipboard
lb_commons: ^1.0.0 copied to clipboard

retracted

Shared between Logbot SDK libraries

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.0

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/api_key_auth.dart';
import 'package:lb_commons/auth/authentication.dart';
import 'package:lb_commons/auth/http_basic_auth.dart';
import 'package:lb_commons/auth/http_bearer_auth.dart';
import 'package:lb_commons/auth/logbot_http_bearer_auth.dart';
import 'package:lb_commons/auth/oauth.dart';
import 'package:lb_commons/commons.dart';
import 'package:lb_commons/models/query_params.dart';
import 'package:lb_commons/services/logbot_logger.dart';