pusher_js 1.3.0 pusher_js: ^1.3.0 copied to clipboard
Pusher wrapper for Dart
pusher #
A Dart wrapper for Pusher.js
Usage #
import 'package:pusher_js/pusher_js.dart';
main() {
var socket = new Pusher('0eb73a235dd03b3df71a');
socket.connection.bind('connected', allowInterop((data) {
print('Connected to Pusher!');
}));
}
Note: callbacks should be wrapped in allowInterop()
.
Features and bugs #
Please file feature requests and bugs at the issue tracker.