initFirestoreWindows function

Future<void> initFirestoreWindows()

Implementation

Future<void> initFirestoreWindows() async {
  if (Get.find<FirebaseControlPanel>().options != null) {
    Firestore.initialize(Get.find<FirebaseControlPanel>().options!.projectId);
  } else {
    if (kDebugMode) {
      print("FirebaseOptions cant be null!!");
    }
  }
}