verifyPhoneCode abstract method

  1. @POST.new('/users/@me/phone/verify')
Future<PhoneVerifyResponse> verifyPhoneCode({
  1. @Body.new() required PhoneVerifyRequest body,
})

Verify phone code.

Verify a phone number by confirming the SMS verification code. Returns phone verification status.

body - Name not received - field will be skipped.

Implementation

@POST('/users/@me/phone/verify')
Future<PhoneVerifyResponse> verifyPhoneCode({
  @Body() required PhoneVerifyRequest body,
});