maybeOf static method
The nearest AirBuildCodePushOverlay state above context, or null
if the app isn't wrapped in one. Use it to read
AirBuildCodePushOverlayState.status or to trigger
AirBuildCodePushOverlayState.checkNow from your own UI.
Implementation
static AirBuildCodePushOverlayState? maybeOf(BuildContext context) =>
context.findAncestorStateOfType<AirBuildCodePushOverlayState>();