registerFactory<T> method

void registerFactory<T>(
  1. T factory(
    1. Container c
    ), {
  2. bool? isSilent,
})

Implementation

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