add<T> abstract method
Register a factory instance. A new instance will be generated whenever requested.
injector.add(MyController.new);
When [key] is provided this instance only can be found by key
Implementation
void add<T>(Function constructor, {BindConfig<T>? config, String? key});