sendVerificationCode method
Sends a verification code to an email address or phone number.
accountType can be "email" or "phone". When type is omitted the
native SDK defaults to the registration verification flow.
Implementation
@override
Future<void> sendVerificationCode({
required String countryCode,
required String account,
required String accountType,
int? type,
}) async {
await methodChannel
.invokeMethod<void>('sendVerificationCode', <String, dynamic>{
'countryCode': countryCode,
'account': account,
'accountType': accountType,
if (type != null) 'type': type,
});
}