addInstance<T> abstract method
Register a instance. A concrete object (Not a function).
injector.addInstance(MyController());
When [key] is provided this instance only can be found by key
Implementation
void addInstance<T>(T instance, {BindConfig<T>? config, String? key});