updateItem method Null safety
- GlpiItemType itemType,
- int id,
- 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);