getDependency<T> method Null safety

T getDependency<T>()

Gets dependency value by type.

See WidgetFactory.getDependencies.

Implementation

T getDependency<T>() => _getDependency<T>(_deps);