uploadDocument method Null safety

Future<Map<String, dynamic>> uploadDocument(
  1. covariant dynamic file
)

Allow to upload a GlpiItemType.Document. file must be a File object. Unsupported on the web. Reference: https://github.com/glpi-project/glpi/blob/master/apirest.md#upload-a-document-file

Implementation

Future<Map<String, dynamic>> uploadDocument(covariant dynamic file);