Definition at line 28 of file notification_service.dart.
◆ NotificationService()
| factory NotificationService::NotificationService |
( |
| ) |
|
|
private |
◆ _checkPendingNotification()
| Future< void > NotificationService::_checkPendingNotification |
( |
| ) |
|
|
inlineprivate |
◆ _handleForegroundMessage()
| Future< void > NotificationService::_handleForegroundMessage |
( |
RemoteMessage | message | ) |
|
|
inlineprivate |
◆ _handleNotificationTap()
| void NotificationService::_handleNotificationTap |
( |
RemoteMessage | message | ) |
|
|
inlineprivate |
◆ _initLocalNotifications()
| Future< void > NotificationService::_initLocalNotifications |
( |
| ) |
|
|
inlineprivate |
◆ _internal()
◆ _navigateBasedOnNotification()
| void NotificationService::_navigateBasedOnNotification |
( |
Map< String, dynamic > | data | ) |
|
|
inlineprivate |
◆ _onNotificationTap()
| void NotificationService::_onNotificationTap |
( |
NotificationResponse | notificationResponse | ) |
|
|
inlineprivate |
◆ _parsePayload()
| Map< String, dynamic > NotificationService::_parsePayload |
( |
String | payloadString | ) |
|
|
inlineprivate |
◆ _saveDeviceToken()
| Future< void > NotificationService::_saveDeviceToken |
( |
String | token | ) |
|
|
inlineprivate |
◆ _showLocalNotification()
| Future< void > NotificationService::_showLocalNotification |
( |
{ required String title, required String body, required Map< String, dynamic > payload, } | | ) |
|
|
inlineprivate |
◆ init()
| Future< void > NotificationService::init |
( |
| ) |
|
|
inlineprivate |
◆ removeDeviceToken()
| Future< void > NotificationService::removeDeviceToken |
( |
String | token | ) |
|
|
inlineprivate |
◆ setupAfterAuthentication()
| Future< void > NotificationService::setupAfterAuthentication |
( |
SessionEntity | session | ) |
|
|
inlineprivate |
◆ updateSession()
| void NotificationService::updateSession |
( |
SessionEntity? | session | ) |
|
|
inlineprivate |
◆ _currentSession
◆ _firebaseMessaging
| final FirebaseMessaging NotificationService::_firebaseMessaging = FirebaseMessaging.instance |
|
private |
◆ _flutterLocalNotificationsPlugin
| final FlutterLocalNotificationsPlugin NotificationService::_flutterLocalNotificationsPlugin |
|
private |
◆ _hasPendingNavigation
| bool NotificationService::_hasPendingNavigation = false |
|
private |
◆ _instance
◆ navigatorKey
The documentation for this class was generated from the following file: