verifyCodeForUpdatingPhoneNumber static method

Future verifyCodeForUpdatingPhoneNumber(
  1. String mobile,
  2. String code
)

Verify code for updating phone number.

Implementation

static Future verifyCodeForUpdatingPhoneNumber(
    String mobile, String code) async {
  String path = 'changePhoneNumber';
  Map<String, dynamic> data = {'mobilePhoneNumber': mobile, 'code': code};
  await LeanCloud._httpClient.post(path, data: data);
}