maybeOf static method

Implementation

static DVLifecycleSignal<DVPageLifecycle>? maybeOf(BuildContext context) =>
    context
        .dependOnInheritedWidgetOfExactType<DVPageLifecycleScope>()
        ?.signal;