updateItem method Null safety

Future<Map<String, String>> updateItem(
  1. GlpiItemType itemType,
  2. int id,
  3. Map<String, dynamic> data
)

Return an array with the updated item id and a message. To correctly format the data, see the examples and the documentation. Reference: https://github.com/glpi-project/glpi/blob/master/apirest.md#update-items

Implementation

Future<Map<String, String>> updateItem(
    GlpiItemType itemType, int id, Map<String, dynamic> data);