getElement method
Implementation
Future<TData> getElement(
{Map<String, dynamic>? params, Map<String, String?>? query}) async {
final response = await api.getObject('$endpointSuffix',
urlParams: params, bean: bean, query: query);
response.throwOnError();
return response.data;
}