onNotificationAction property

Stream<Map<String, String?>> get onNotificationAction

Stream of notification action events from both Firebase and Local sources.

Implementation

Stream<Map<String, String?>> get onNotificationAction {
  return StreamGroup.merge(<Stream<Map<String, String?>>>[
    _firebaseRepository.onNotificationAction.map(
      (Map<String, String?> action) => <String, String?>{
        ...action,
        'source': 'firebase',
      },
    ),
    _localRepository.onNotificationAction.map(
      (Map<String, String?> action) => <String, String?>{
        ...action,
        'source': 'local',
      },
    ),
  ]);
}