The SdkFile
object containing the data to write.
The path of the file to write.
Promise of void
const file = { name: 'example.txt', data: 'SGVsbG8gV29ybGQh', type: 'text/plain' };
const path = 'documents/';
await fileToDrive(file, path);
Generated using TypeDoc
Writes a file to the local drive.