AfroMessageConfig class

Configuration for the AfroMessage SMS client.

Constructors

AfroMessageConfig({required String apiKey, String senderName = '', String identifierId = '', String baseUrl = 'https://api.afromessage.com/api'})
const

Properties

apiKey → String
Bearer token from your AfroMessage dashboard.
final
baseUrl → String
API base URL. Override only for testing or custom proxies.
final
hashCode → int
The hash code for this object.
no setterinherited
identifierId → String
System identifier ID (short code) when you have multiple identifiers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderName → String
Verified sender name shown as the SMS "from" label.
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