getFilePath static method
根据文件夹类型和文件名获取完整文件路径
Gets the full file path based on folder type and file name.
Implementation
static String? getFilePath(FolderType type, String fileName,
[StorageType? storageType]) {
final folderPath = getFolderPath(type, storageType);
if (folderPath == null) {
loge('getFilePath: folder path is null for $type');
return null;
}
return '$folderPath/$fileName';
}