x_action_cable 0.4.0
x_action_cable: ^0.4.0 copied to clipboard
Not an only port for action cable, but with some pattern to help you integrate with your web or apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add x_action_cableWith Flutter:
$ flutter pub add x_action_cableThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
x_action_cable: ^0.4.0Alternatively, 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:x_action_cable/x_action_cable.dart';