You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
343 B
Dart
16 lines
343 B
Dart
import 'package:get_it/get_it.dart';
|
|
|
|
import 'core/service/hospital_service.dart';
|
|
import 'core/viewModels/hospital_view_model.dart';
|
|
|
|
GetIt locator = GetIt.instance;
|
|
|
|
///di
|
|
void setupLocator() {
|
|
/// Services
|
|
locator.registerLazySingleton(() => HospitalService());
|
|
|
|
/// View Model
|
|
locator.registerFactory(() => HospitalViewModel());
|
|
}
|