sendOtpMessage method
Sends one time password to the specified phone number.
Implementation
Future<SentMessage?> sendOtpMessage(
String phoneNumber,
String otp,
) async {
return _getStateOf<SentMessage>(request: () {
return _oursmsService.sendOtpMessage(
OtpMessageRequest(
key: key,
userId: userId,
phoneNumber: phoneNumber,
otp: otp,
),
);
});
}