singleton<T> abstract method
Implementation
void singleton<T>({String? name, required FactoryFunction<T> factory, bool eager = false});
void singleton<T>({String? name, required FactoryFunction<T> factory, bool eager = false});