@@ -231,7 +231,7 @@ abstract class GetIt {
231
231
String ? instanceName,
232
232
});
233
233
234
- /// Like registerFactory but holds a week reference to the last created instance
234
+ /// Like registerFactory but holds a weak reference to the last created instance
235
235
/// if the instance wasn't garbage collected yet it will return this instance instead of creating a new one
236
236
void registerCachedFactory <T extends Object >(
237
237
FactoryFunc <T > factoryFunc, {
@@ -262,7 +262,7 @@ abstract class GetIt {
262
262
String ? instanceName,
263
263
});
264
264
265
- /// Like registerFactoryParam but holds a week reference to the last created instance
265
+ /// Like registerFactoryParam but holds a weak reference to the last created instance
266
266
/// if the instance wasn't garbage collected yet, and if the passed parameter haven't changed,
267
267
/// it will return this instance instead of creating a new one
268
268
void registerCachedFactoryParam <T extends Object , P1 , P2 >(
@@ -282,7 +282,7 @@ abstract class GetIt {
282
282
String ? instanceName,
283
283
});
284
284
285
- /// Like registerFactoryAsync but holds a week reference to the last created instance
285
+ /// Like registerFactoryAsync but holds a weak reference to the last created instance
286
286
/// if the instance wasn't garbage collected yet it will return this instance instead of creating a new one
287
287
void registerCachedFactoryAsync <T extends Object >(
288
288
FactoryFunc <T > factoryFunc, {
@@ -314,7 +314,7 @@ abstract class GetIt {
314
314
String ? instanceName,
315
315
});
316
316
317
- /// Like registerFactoryParamAsync but holds a week reference to the last created instance
317
+ /// Like registerFactoryParamAsync but holds a weak reference to the last created instance
318
318
/// if the instance wasn't garbage collected yet, and if the passed parameter haven't changed,
319
319
/// it will return this instance instead of creating a new one
320
320
void registerCachedFactoryParamAsync <T extends Object , P1 , P2 >(
0 commit comments