getAllItem abstract method
Return ALL the items of the given type the current user can see, depending on your server configuration and the number of items proceeded it may have unexpected results.
GlpiItemType contains all the available item types according to the latest GLPI documentation.
By default, only the 50 firsts item will be returned. This can be changed by setting the rangeStart
parameter and rangeLimit
parameters.
Reference: https://github.com/glpi-project/glpi/blob/master/apirest.md#get-all-items
Implementation
Future<List<dynamic>> getAllItem(GlpiItemType itemType,
{bool expandDropdowns = false,
bool getHateoas = true,
bool onlyId = false,
int rangeStart = 0,
int rangeLimit = 50,
String sort = 'id',
String order = 'ASC',
String searchText = 'NULL',
bool isDeleted = false,
List? addKeysNames});