updateService method

Future<void> updateService(
  1. UpdatedServiceModel service, {
  2. required Object authorization,
})

Parameters:

Implementation

Future<void> updateService(
  UpdatedServiceModel service, {
  required Object authorization,
}) async {
  final response = await _updateServiceWithHttpInfo(
    service,
    authorization: authorization,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}