Locator typedef

T Locator <T>()

A function that allows obtaining other objects.

This is usually equivalent to Provider.of, but with no dependency on Flutter

May throw a DependencyNotFoundException.

Implementation

typedef Locator = T Function<T>();