firebase_messaging_platform_interface 4.5.41 firebase_messaging_platform_interface: ^4.5.41 copied to clipboard
A common platform interface for the firebase_messaging plugin.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add firebase_messaging_platform_interface
With Flutter:
$ flutter pub add firebase_messaging_platform_interface
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
firebase_messaging_platform_interface: ^4.5.41
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:firebase_messaging_platform_interface/firebase_messaging_platform_interface.dart';