courier_dart_sdk 0.0.17 copy "courier_dart_sdk: ^0.0.17" to clipboard
courier_dart_sdk: ^0.0.17 copied to clipboard

Flutter SDK for Courier

Use this package as a library

Depend on it

Run this command:

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 flutter pub get):

dependencies:
  courier_dart_sdk: ^0.0.17

Alternatively, 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: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';