GetExtension extension
Extension adding ability to find non-strict dependencies from a GetInterface.
- on
Methods
-
findOrNull<
S> ({String? tag}) → S? -
Available on GetInterface, provided by the GetExtension extension
Returns theS
dependency, if it Inst.isRegistered. -
putOrGet<
S> (S dependency(), {String? tag, bool permanent = false}) → S -
Available on GetInterface, provided by the GetExtension extension
Puts thedependency
, if it isn't Inst.isRegistered.