requestMobilePhoneVerify static method Null safety
- String mobile
Requests a verification SMS to be sent to a user's mobile
number.
Implementation
static Future requestMobilePhoneVerify(String mobile) async {
if (isNullOrEmpty(mobile)) {
throw ArgumentError.notNull('mobile');
}
Map<String, dynamic> data = {'mobilePhoneNumber': mobile};
await LeanCloud._httpClient.post('requestMobilePhoneVerify', data: data);
}