initializeFirebaseMessaging function

Future<void> initializeFirebaseMessaging(
  1. String name
)

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");
}