uploadFileFromRemote method
Upload files using direct links
Implementation
Future<Map> uploadFileFromRemote({
required String url,
String? folder_id,
String? new_title,
String? apiKey,
}) async {
Map result = await invoke(
uriPath: "upload/url",
apiKey: apiKey,
uriQueryParameters: {
"url": url,
"fld_id": folder_id,
"new_title": new_title,
},
statusCodes: [200],
specialTypeName: "uploadRemoteUrl",
);
return result;
}