saveFile method
Implementation
@override
Future<String?> saveFile({
required Uint8List bytes,
required String fileName,
String? folderPath,
bool saveToRoot = false,
}) async {
if (saveToRoot) {
return await this.saveToRoot(
bytes: bytes,
fileName: fileName,
folderPath: folderPath,
);
} else {
return await saveToDCIM(
bytes: bytes,
fileName: fileName,
subfolder: folderPath,
);
}
}