EnvironmentConfig class
Configuration for the BabylAI SDK environment
This is a simplified configuration that only exposes environment type and logging. Base URLs and timeouts are managed internally by the native SDKs.
Constructors
- EnvironmentConfig({required BabylAIEnvironment environment, required bool enableLogging})
-
const
- EnvironmentConfig.development({bool enableLogging = true})
-
Factory constructor for development configuration
factory
- EnvironmentConfig.production({bool enableLogging = false})
-
Factory constructor for production configuration
factory
Properties
- enableLogging → bool
-
Whether to enable SDK logging (default: false for production, true for development)
final
- environment → BabylAIEnvironment
-
The environment type (production or development)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isProduction → bool
-
Indicates whether in production mode
no setter
- isTestingMode → bool
-
Indicates whether in testing/development mode
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Convert to map for method channel
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited