getAssetsFromPath method
Get assets under the specific path entity. 获取指定路径下的资源
Implementation
@override
Future<void> getAssetsFromPath(int page, AssetPathEntity path) async {
final List<AssetEntity> list = await path.getAssetListPaged(
page: page,
size: pageSize,
);
_currentAssets = list.toList();
_hasAssetsToDisplay = currentAssets.isNotEmpty;
notifyListeners();
}