registerLazySingleton<T extends Object> static method
void
registerLazySingleton<T extends Object>(})
Implementation
static void registerLazySingleton<T extends Object>(
T Function() factoryFunc, {
String? instanceName,
FutureOr Function(T param)? dispose,
}) {
_locator.registerLazySingleton<T>(
factoryFunc,
instanceName: instanceName,
dispose: dispose,
);
}