switchPath method
Switch path entity. 切换路径
Implementation
@override
Future<void> switchPath(AssetPathEntity pathEntity) async {
_isSwitchingPath = false;
_currentPathEntity = pathEntity;
_totalAssetsCount = pathEntity.assetCount;
notifyListeners();
await getAssetsFromEntity(0, currentPathEntity!);
}