allowMultipleRegistrations property

bool allowMultipleRegistrations
final

Whether to enable GetIt's multiple registrations feature. When true, generates a call to getIt.enableRegisteringMultipleInstancesOfOneType() at the start of the init function. This allows registering multiple instances of the same type without names. See: https://flutter-it.dev/documentation/get_it/multiple_registrations Defaults to false.

Implementation

final bool allowMultipleRegistrations;