OursmsClient class
A class that provides simple methods which deals the Oursms API service.
For more, vist https://oursms.app/
Constructors
- OursmsClient({required String key, required int userId, Dio? dio})
-
The client of the
[Oursms]
service.
Properties
Methods
-
getMessageStatus(
String messageId) → Future< MessageStatus?> - Gets an information and status about a message that has been sent.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendOneMessage(
String phoneNumber, String message) → Future< SentMessage?> - Sends one single message to the specified phone number.
-
sendOtpMessage(
String phoneNumber, String otp) → Future< SentMessage?> - Sends one time password to the specified phone number.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited