uploadFileById method
Uploads a file to the cloud storage.
Implementation
@override
Future<String> uploadFileById(
{required String localPath,
required String fileId,
Map<String, dynamic>? metadata}) async {
_checkAuth();
var folderInfo = await _findOrJoinSharedFolder(fileId);
final remoteFilePath = "${folderInfo['path_lower']}/sync_file.json";
debugPrint("Uploading to resolved remote path: $remoteFilePath");
return uploadFile(
localPath: localPath, remotePath: remoteFilePath, metadata: metadata);
}