wp_notify 2.0.1 wp_notify: ^2.0.1 copied to clipboard
Send push notification from WordPress using Firebase Cloud Messaging. This package automatically pushes your FCM token to WordPress to start sending notifications. Features include the ability to assi [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add wp_notify
With Flutter:
$ flutter pub add wp_notify
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
wp_notify: ^2.0.1
Alternatively, 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:wp_notify/wp_notify.dart';