initializeLocalNotifications method
dynamic
initializeLocalNotifications()
Initialize local notifications
Implementation
initializeLocalNotifications() async {
return await _localNotifications?.initialize(
_initializationSettings!,
onDidReceiveBackgroundNotificationResponse:
_onDidReceiveBackgroundNotificationResponse,
onDidReceiveNotificationResponse: _onDidReceiveLocalNotification,
);
}