registerSingleton<T> method
Implementation
void registerSingleton<T>(T factory(Container c), {bool? isSilent}) {
_container.registerSingleton<T, T>(factory, isSilent: isSilent);
}
void registerSingleton<T>(T factory(Container c), {bool? isSilent}) {
_container.registerSingleton<T, T>(factory, isSilent: isSilent);
}