onSendSMS property

(Future<String> Function(String phoneNumber, String code, Locale locale)?) onSendSMS
final

It is executed when sending an SMS.

The phoneNumber is the phone number of the recipient, the code is the generated authentication code, and the locale is the language setting.

Please return the code for authentication that you sent.

SMSを送信する際に実行されます。

phoneNumberに送信先の電話番号、codeに生成された認証用コード、localeに言語設定が渡されます。

送信した認証用コードを返してください。

Implementation

final Future<String> Function(String phoneNumber, String code, Locale locale)?
    onSendSMS;