appLifecycleChanged method

Future<void> appLifecycleChanged(
  1. AppLifecycleState state
)

Forwards an app-lifecycle transition to both queues, each on its own.

Implementation

Future<void> appLifecycleChanged(AppLifecycleState state) => Future.wait([
      analyticsService.appLifecycleChanged(state),
      appEventsService.appLifecycleChanged(state),
    ]);