error: incompatible types: PluginRegistry cannot be converted to FlutterEngine\ code example
Example: error: incompatible types: PluginRegistry cannot be converted to FlutterEngine\
FirebaseMessagingPlugin.registerWith(registry.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin"));