apiV2UsersVerifyPhoneCreateWithHttpInfo method
Future<Response>
apiV2UsersVerifyPhoneCreateWithHttpInfo(
- CheckSMSVerificationCode checkSMSVerificationCode
Method sends notification to user about a successful subscription
Note: This method returns the HTTP Response.
Parameters:
- CheckSMSVerificationCode checkSMSVerificationCode (required):
Implementation
Future<Response> apiV2UsersVerifyPhoneCreateWithHttpInfo(CheckSMSVerificationCode checkSMSVerificationCode,) async {
// ignore: prefer_const_declarations
final path = r'/api/v2/users/verify_phone/';
// ignore: prefer_final_locals
Object? postBody = checkSMSVerificationCode;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}