hasLifecycle method

bool hasLifecycle(
  1. Lifecycle lifecycle
)

Implementation

bool hasLifecycle(Lifecycle lifecycle) => lifecycles.contains(lifecycle);