selectStorage static method

Future<void> selectStorage()

Implementation

static Future<void> selectStorage() async {
if (HycopFactory.serverType == ServerType.supabase) {
    storage = SupabaseAppStorage();
  } else {
    storage = FirebaseAppStorage();
  }
  await storage!.initialize();
  return;
}