getFileMetadata method
Since v0.7 Get file's metadata keys and values
Implementation
Future<Map<String, String>> getFileMetadata(String fileId) async {
_ensureRightVersionForMetadataApi();
final result = await resolveStreamedResponse(
createRequest(
'GET',
buildUri('$apiUrl/files/$fileId/metadata/'),
).send(),
);
return (result as Map).cast<String, String>();
}