getPath method
根据存储类型获取对应路径
Implementation
String? getPath(StorageType type) {
switch (type) {
case StorageType.cache:
return cachePath;
case StorageType.files:
return filesPath;
}
}
根据存储类型获取对应路径
String? getPath(StorageType type) {
switch (type) {
case StorageType.cache:
return cachePath;
case StorageType.files:
return filesPath;
}
}