captureInstanceLifecycle<S> method
Captures the current generation for the widget that owns its lifetime.
Implementation
RouteDependency? captureInstanceLifecycle<S>({String? tag}) {
final factory = _typeSingl[S]?[tag];
return factory == null
? null
: _routeDependency(factory, factory.generation);
}