Constants class
Constants used throughout the WhatsApp Cloud API client.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- apiBaseUrl → const String
- Base URL for the WhatsApp Cloud API
- apiVersion → const String
- API version path component
-
defaultHeaders
→ const Map<
String, String> - Headers used in API requests
- defaultTimeoutSeconds → const int
- Default timeout duration for API requests in seconds
- maxMediaSizeBytes → const int
- Maximum file size for media uploads in bytes (16MB)
- maxRetries → const int
- Maximum retries for failed API requests
- mediaPath → const String
- Base path for media endpoints
- messagePath → const String
- Base path for message endpoints
- packageName → const String
- Package name
- packageVersion → const String
- Package version
- rateLimit → const int
- Rate limit for WhatsApp Cloud API (requests per minute)
-
supportedMediaTypes
→ const List<
String> - Supported media types
- templatePath → const String
- Base path for template endpoints