Dart DocumentationdiVisibility

Visibility typedef

Visibility determines if the instance in the defining module is visible to the requesting injector. If true is returned, then the instance from the defining injector is provided. If false is returned, the injector keeps walking up the tree to find another visible instance.

typedef bool Visibility(Injector requesting, Injector defining);

typedef bool Visibility(Injector requesting, Injector defining) #

typedef bool Visibility(Injector requesting, Injector defining);