testPhoneNumberSendSms method

Future<void> testPhoneNumberSendSms(
  1. String phoneNumberId,
  2. TestPhoneNumberOptions testPhoneNumberOptions, {
  3. String? xTestId,
})

Parameters:

Implementation

Future<void> testPhoneNumberSendSms(String phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, { String? xTestId, }) async {
  final response = await testPhoneNumberSendSmsWithHttpInfo(phoneNumberId, testPhoneNumberOptions,  xTestId: xTestId, );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}