EnvironmentConfig class

Environment configuration for different deployment stages.

Constructors

EnvironmentConfig.new({required String baseUrl, required String apiVersion, required bool enableDebugLogging, required Map<String, int> rateLimits, required int timeoutMs, required int maxRetries})
const

Properties

apiVersion String
API version
final
baseUrl String
WhatsApp Cloud API base URL
final
enableDebugLogging bool
Whether to enable debug logging
final
hashCode int
The hash code for this object.
no setterinherited
maxRetries int
Maximum retry attempts
final
rateLimits Map<String, int>
Rate limiting configuration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutMs int
Request timeout in milliseconds
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

development → const EnvironmentConfig
Development environment configuration
production → const EnvironmentConfig
Production environment configuration
testing → const EnvironmentConfig
Testing environment configuration