initStorageWindows function

Future initStorageWindows()

Implementation

Future<dynamic> initStorageWindows() async {
  firebase_dart.FirebaseDart.setup(storagePath: 'users/');
  var options = Get.find<FirebaseControlPanel>().options!;
  await firebase_dart.Firebase.initializeApp(
      options: firebase_dart.FirebaseOptions(
          apiKey: options.apiKey,
          authDomain: options.authDomain,
          projectId: options.projectId,
          storageBucket: options.storageBucket,
          messagingSenderId: options.messagingSenderId,
          appId: options.appId));
}