getEmployeeStatistics method
Parameters:
-
int year (required):
-
int month (required):
-
Object authorization:
Implementation
Future<EmployeeStatistics> getEmployeeStatistics(
int year,
int month, {
required Object authorization,
}) async {
final response = await getEmployeeStatisticsWithHttpInfo(
year,
month,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
return await apiClient.deserializeAsync(
await _decodeBodyBytes(response),
'EmployeeStatistics',
) as EmployeeStatistics;
}