pubnub 1.0.2 pubnub: ^1.0.2 copied to clipboard
PubNub SDK v5 for Dart lang (with Flutter support) that allows you to create real-time applications
PubNub Dart SDK #
Quick start #
- To get started, add
pubnub
as a dependency in yourpubspec.yaml
.
dependepcies:
pubnub: ^1.0.0
- Run
pub get
in your project. - Import PubNub into your application!
import 'package:pubnub/pubnub.dart';
Contributing #
- Clone the repository.
$ git clone https://github.com/pubnub/dart.git
- Enter the directory and install dependencies.
$ cd dart
$ pub get
- Run the
build_runner
to generate necessary source files.
$ pub run build_runner build