unregister<T extends Object> abstract method
Removes the instance of the specified type from the DI container.
If a name is provided, it removes the named instance of the type T.
Implementation
void unregister<T extends Object>({String? name});