initializeFirebaseMessaging function
Initializes Firebase messaging with the specified name
for a topic.
Implementation
Future<void> initializeFirebaseMessaging(String name) async {
await _invokeMethod('initializeFirebaseMessaging', {"topicName": name},
"Failed to initialize Firebase Messaging");
}