moveFile method
Move your file from one folder to another
Implementation
Future<Map> moveFile({
required String file_code,
required String to_folder_id,
String? apiKey,
}) async {
Map result = await invoke(
uriPath: "file/move",
uriQueryParameters: {
"file_code": DoodstreamUtils.parseToFileId(data: file_code),
"fld_id": to_folder_id,
},
apiKey: apiKey,
statusCodes: [200],
specialTypeName: "uploadRemoteUrl",
);
return result;
}