getFileThumbnail method
Get file splash, single or thumbnail image
Implementation
Future<Map> getFileThumbnail({
required String file_code,
String? apiKey,
}) async {
Map result = await invoke(
uriPath: "file/image",
uriQueryParameters: {
"file_code": DoodstreamUtils.parseToFileId(data: file_code),
},
apiKey: apiKey,
statusCodes: [200],
specialTypeName: "uploadRemoteUrl",
);
return result;
}