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

hashCode int
The hash code for this object.
no setterinherited
key String
The api key value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId int
The user id which identifies your account.
final

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