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 the S dependency, if it Inst.isRegistered.
putOrGet<S>(S dependency(), {String? tag, bool permanent = false}) → S

Available on GetInterface, provided by the GetExtension extension

Puts the dependency, if it isn't Inst.isRegistered.