getAllItem abstract method

Future<List> getAllItem(
  1. GlpiItemType itemType, {
  2. bool expandDropdowns = false,
  3. bool getHateoas = true,
  4. bool onlyId = false,
  5. int rangeStart = 0,
  6. int rangeLimit = 50,
  7. String sort = 'id',
  8. String order = 'ASC',
  9. String searchText = 'NULL',
  10. bool isDeleted = false,
  11. List? addKeysNames,
})

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});