requestPasswordRestBySmsCode static method

Future requestPasswordRestBySmsCode(
  1. String mobile
)

Requests a reset password sms code to be sent to a user's mobile number.

Implementation

static Future requestPasswordRestBySmsCode(String mobile) async {
  if (isNullOrEmpty(mobile)) {
    throw ArgumentError.notNull('mobile');
  }
  await LeanCloud._httpClient.post('requestPasswordResetBySmsCode',
      data: {'mobilePhoneNumber': mobile});
}