fcm_actions_testing library
Test doubles and injection seams for fcm_actions.
Classes
- ActionQueue
- Durable failed-action queue. It is intentionally transport agnostic: authentication/network middleware can throw and the action is retried when the app resumes or drain is called explicitly.
- ActionRegistry
- In-memory registry owned by an FcmActionsClient instance.
- ChannelRegistry
- FcmActionsEventBus
- Typed broadcast streams for package events.
- LocalNotificationsGateway
- MessagingGateway
- NotificationEngine
- Named-route navigation without application switch statements.
- NotificationParser
- Converts FCM's platform-specific shape into a validated package model.
- PlatformNotificationResponse
- ReplayGuard
- Persists recently processed action identities to suppress duplicate/replayed platform callbacks across process restarts.
Typedefs
- ActionResolver = NotificationAction? Function(String id)
-
PlatformNotificationResponseCallback
= Future<
void> Function(PlatformNotificationResponse response) -
QueuedActionExecutor
= Future<
void> Function(NotificationActionEvent event)