changePassword method

Future<void> changePassword(
  1. ChangePasswordRequest changePasswordRequest
)

Change or set the account password.

Parameters:

Implementation

Future<void> changePassword(ChangePasswordRequest changePasswordRequest,) async {
  final response = await changePasswordWithHttpInfo(changePasswordRequest,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}