bind<T> method
Binds a new DI item into the container The function bound to the provided key will only be called when the container receives a request for the item at that key.
Implementation
@override
void bind<T>(String key, T Function(Container container) fn) {
bindings[key] = fn;
}