updateEmployee method

Future<void> updateEmployee(
  1. UpdateEmployeeModel employee, {
  2. required Object authorization,
})

Parameters:

Implementation

Future<void> updateEmployee(
  UpdateEmployeeModel employee, {
  required Object authorization,
}) async {
  final response = await _updateEmployeeWithHttpInfo(
    employee,
    authorization: authorization,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}