apiV2CardDestroy method

Future<void> apiV2CardDestroy(
  1. int id
)

Interface to use multiple serializers depends on requested action

Parameters:

  • int id (required):

Implementation

Future<void> apiV2CardDestroy(int id,) async {
  final response = await apiV2CardDestroyWithHttpInfo(id,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}