SILFCM constructor
SILFCM({
- FirebaseMessaging? firebaseMessagingObj,
- FlutterLocalNotificationsPlugin? localNotifications,
Implementation
factory SILFCM(
{FirebaseMessaging? firebaseMessagingObj,
FlutterLocalNotificationsPlugin? localNotifications}) {
firebaseMessaging = firebaseMessagingObj ?? FirebaseMessaging.instance;
localNotificationsPlugin =
localNotifications ?? FlutterLocalNotificationsPlugin();
return _singleton;
}