testPhoneNumberSendSms method
Future<void>
testPhoneNumberSendSms(
- String phoneNumberId,
- TestPhoneNumberOptions testPhoneNumberOptions, {
- String? xTestId,
Parameters:
-
String phoneNumberId (required):
-
TestPhoneNumberOptions testPhoneNumberOptions (required):
-
String xTestId:
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));
}
}