requestSms method
Start listening for an incoming message for the next five minutes.
If you know the phone number from which the SMS message will originate, specify it (otherwise, sms from any number satisfying the SMS User Consent API will be received.
Once a sms is received, you will have to call this method again to receive another sms.
Implementation
void requestSms({String? senderPhoneNumber}) async => await _channel
.invokeMethod('requestSms', {"senderPhoneNumber": senderPhoneNumber});