HycopConfig constructor

HycopConfig(
  1. String enterprise,
  2. ServerType serverType
)

Implementation

HycopConfig(String enterprise, ServerType serverType)
    : serverConfig = serverType == ServerType.firebase
          ? FirebaseConfig(enterprise: enterprise)
          : serverType == ServerType.appwrite
              ? AppwriteConfig(enterprise: enterprise)
              : serverType == ServerType.supabase
                  ? SupabaseConfig(enterprise: enterprise)
                  : FirebaseConfig(enterprise: enterprise);