courier_dart_sdk 0.0.3 courier_dart_sdk: ^0.0.3 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.3
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_response_mapper.dart';
import 'package:courier_dart_sdk/auth_retry_policy.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/default_auth_retry_policy.dart';
import 'package:courier_dart_sdk/event/courier_event.dart';
import 'package:courier_dart_sdk/event/courier_event_handler.dart';