init function

Future<void> init(
  1. Map<String, dynamic> data
)

Implementation

Future<void> init(Map<String, dynamic> data) async {
  // ************************ CORE **************************** //
  // final sharedPreferences = await SharedPreferences.getInstance();
  // Get.lazyPut(() => sharedPreferences);
  // Get.lazyPut(() => LocalStorageManager.getInstance(Get.find()));
  // Get.lazyPut(() => DioUtil().getInstance());
  // Get.lazyPut(() => Stripe.instance, fenix: true);

  // final String ciphterKey = data['CIPHER_KEY'] ?? "";
  // final String iv = data['IV_HEX'] ?? "";
  // Get.put(CryptoUtils(ciphterKey: ciphterKey, iv: iv));
  // Get.put(ConnectionUtil.getInstance());

  // ************************ Repositories **************************** //
  // Get.lazyPut(() => AuthRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => CountryRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => ProfileRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => HomeRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => MessagesRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => CallRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => ReferAndEarnRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => ReferralRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => NetworkRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => QuestionnaireRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => TagRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => SettingsRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => StripeProcessor(Get.find()), fenix: true);
  // Get.lazyPut(() => PaymentRepository(Get.find()), fenix: true);
  // Get.lazyPut(() => PhonePeProcessor(Get.find()), fenix: true);
  // Get.lazyPut<InAppPurchaseClient>(
  //   () => RevenueCatInAppPuchaseClient(Get.find()),
  //   fenix: true,
  // );

  // ************************ Controllers **************************** //
  // Get.lazyPut(() => AuthController(Get.find()), fenix: true);
  // Get.lazyPut(() => MessageController(), fenix: true);
  // Get.lazyPut(() => NetworkController(), fenix: true);
  // Get.lazyPut(() => AppCameraController(), fenix: true);
  // Get.lazyPut(() => ChatMenuController(Get.find(), Get.find()), fenix: true);
  // Get.lazyPut(() => ProfileController(), fenix: true);
  // Get.lazyPut(() => HomeController(), fenix: true);
  // Get.lazyPut(() => AnimatedCardListController(), fenix: true);
  // Get.lazyPut(() => TagController(Get.find()));
  // Get.lazyPut(() => SettingsController(Get.find(), Get.find()));
  // Get.lazyPut(() => QuestionnaireController(Get.find()), fenix: true);
  // Get.lazyPut(() => CountryController(Get.find()), fenix: true);
  // Get.lazyPut(() => PolicyController());
  // Get.lazyPut(() => GalleryController());
  // Get.lazyPut(() => AppGalleryController());
  // Get.lazyPut(() => CallController());
  // Get.lazyPut(() => ReferralController(Get.find()));
  // Get.lazyPut(() => IntroController());
  // Get.lazyPut(() => CustomerSupportController(), fenix: true);
  // Get.lazyPut(() => HelpFaqController(), fenix: true);
  // Get.lazyPut(() => RaiseTicketController(), fenix: true);
  // Get.lazyPut(() => BlockedAccountController(Get.find()), fenix: true);
  // Get.lazyPut(() => ViewProfileController(Get.find()), fenix: true);
  // Get.lazyPut(() => PaymentTransactionController(Get.find()), fenix: true);
  // Get.lazyPut(() => PhonePeController(), fenix: true);
  // Get.lazyPut(() => PaymentController(Get.find()), fenix: true);
  // Get.lazyPut(() => UnlockContinentController(Get.find()), fenix: true);
  // Get.lazyPut(() => ReferAndEarnController(), fenix: true);
  // Get.lazyPut(() => DashBoardController(Get.find(), Get.find()), fenix: true);
  // Get.lazyPut(() => FilterController(), fenix: true);
}