20 lines
558 B
Dart
20 lines
558 B
Dart
/// Configuration de l'injection de dépendances pour le module Cotisations
|
|
library cotisations_di;
|
|
|
|
import 'package:get_it/get_it.dart';
|
|
import '../bloc/cotisations_bloc.dart';
|
|
|
|
/// Enregistrer les dépendances du module Cotisations
|
|
void registerCotisationsDependencies(GetIt getIt) {
|
|
// BLoC
|
|
getIt.registerFactory<CotisationsBloc>(
|
|
() => CotisationsBloc(),
|
|
);
|
|
|
|
// Repository sera ajouté ici quand l'API backend sera prête
|
|
// getIt.registerLazySingleton<CotisationRepository>(
|
|
// () => CotisationRepositoryImpl(dio: getIt()),
|
|
// );
|
|
}
|
|
|