registerSingleton<T extends Object> static method
Method used to register singleton dependency
Implementation
static void registerSingleton<T extends Object>(
T value, {
String? dependencyName,
}) {
_instance._injector.registerSingleton(
value,
dependencyName: dependencyName,
);
}