registerWith static method
Implementation
static void registerWith(Registrar registrar) {
// Touch the singleton to ensure any required lazy initialization runs.
FirebaseMessagingHandler.instance;
// Required to keep the registrar alive for method channel plugins.
registrar.registerMessageHandler();
}