You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
724 B
20 lines
724 B
import 'package:get/get.dart';
|
|
import '../controllers/usage_controller.dart';
|
|
import '../controllers/meeting_stats_controller.dart';
|
|
import '../controllers/translation_stats_controller.dart';
|
|
import '../../../data/services/usage_stats_service.dart';
|
|
|
|
class UsageBinding implements Bindings {
|
|
@override
|
|
void dependencies() {
|
|
if (!Get.isRegistered<UsageStatsService>()) {
|
|
Get.put(UsageStatsService(), permanent: true);
|
|
}
|
|
if (!Get.isRegistered<TranslationStatsController>()) {
|
|
Get.lazyPut<TranslationStatsController>(() => TranslationStatsController());
|
|
}
|
|
Get.lazyPut<MeetingStatsController>(() => MeetingStatsController());
|
|
Get.lazyPut<UsageController>(() => UsageController());
|
|
}
|
|
}
|
|
|
|
|