SendSmsRequest class

Request to send a single SMS.

Constructors

SendSmsRequest({required String to, required String message, String? from, String? sender, int template = 0, String? callback})
const

Properties

callback → String?
Optional GET callback URL for delivery progress.
final
from → String?
Identifier ID override. Defaults to client AfroMessageConfig.identifierId.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Message body, or template UID when template is non-zero.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → String?
Sender name override. Defaults to client AfroMessageConfig.senderName.
final
template → int
1 if message is a template ID; otherwise 0.
final
to → String
Recipient phone number (e.g. 09XXXXXXXX or +2519XXXXXXXX).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({String? defaultFrom, String? defaultSender}) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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