lifecycleIsOverlay function

bool lifecycleIsOverlay(
  1. String? lifecycle
)

True when the native layer is over the app rather than the app being away.

Implementation

bool lifecycleIsOverlay(String? lifecycle) => lifecycle == 'inactive';