upload method
Upload a file from the specified URL at the specified path.
Implementation
Future<String?> upload(String urlToFile, String backendlessPath,
{bool overwrite = false}) async {
Map<String, dynamic> parameters = {'url': urlToFile};
String methodName = '/files/$backendlessPath?overwrite=$overwrite';
return await Invoker.post(methodName, parameters);
}