register<T extends Object> abstract method
Registers an instance of any Object type with the DI container.
Implementation
void register<T extends Object>(T instance, {String? name});
Registers an instance of any Object type with the DI container.
void register<T extends Object>(T instance, {String? name});