courier_dart_sdk 0.0.16 courier_dart_sdk: ^0.0.16 copied to clipboard
Flutter SDK for Courier
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add courier_dart_sdk
With Flutter:
$ flutter pub add courier_dart_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
courier_dart_sdk: ^0.0.16
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:courier_dart_sdk/auth/auth_provider.dart';
import 'package:courier_dart_sdk/auth/auth_response_mapper.dart';
import 'package:courier_dart_sdk/auth/auth_retry_policy.dart';
import 'package:courier_dart_sdk/auth/cache_auth_provider.dart';
import 'package:courier_dart_sdk/auth/default_auth_retry_policy.dart';
import 'package:courier_dart_sdk/auth/dio_auth_provider.dart';
import 'package:courier_dart_sdk/chuck/mqtt_chuck_view.dart';
import 'package:courier_dart_sdk/config/connect_retry_policy_config.dart';
import 'package:courier_dart_sdk/config/connect_timeout_config.dart';
import 'package:courier_dart_sdk/config/courier_configuration.dart';
import 'package:courier_dart_sdk/connection_state.dart';
import 'package:courier_dart_sdk/courier_client.dart';
import 'package:courier_dart_sdk/courier_connect_info.dart';
import 'package:courier_dart_sdk/courier_connect_options.dart';
import 'package:courier_dart_sdk/courier_message.dart';
import 'package:courier_dart_sdk/event/courier_event.dart';
import 'package:courier_dart_sdk/event/courier_event_handler.dart';
import 'package:courier_dart_sdk/message_adapter/bytes_message_adapter.dart';
import 'package:courier_dart_sdk/message_adapter/json_message_adapter.dart';
import 'package:courier_dart_sdk/message_adapter/message_adapter.dart';
import 'package:courier_dart_sdk/message_adapter/string_message_adapter.dart';