disposeSingleton<T> abstract method Null safety

T? disposeSingleton<T>()

Removes the singleton instance.
This does not remove it from the registry tree.

Implementation

T? disposeSingleton<T>();