registerSingleton<T extends Object> abstract method

void registerSingleton<T extends Object>(
  1. T value, {
  2. String? dependencyName,
})

Method used to register singleton dependency

Implementation

void registerSingleton<T extends Object>(
  T value, {
  String? dependencyName,
});