lazyPut<T> static method
void
lazyPut<T>(
- T builder()
Registers a factory function that creates an instance lazily when needed.
Implementation
static void lazyPut<T>(T Function() builder) {
_factories[T] = builder;
_notify('lazyPut', T);
}