SendSmsRequest class
Request to send a single SMS.
Constructors
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
-
1if message is a template ID; otherwise0.final - to → String
-
Recipient phone number (e.g.
09XXXXXXXXor+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