getAssetList method
Get assets list from current path entity. 从当前已选路径获取资源列表
Implementation
Future<void> getAssetList() async {
if (_pathEntityList.isNotEmpty) {
_currentPathEntity = _pathEntityList.keys.elementAt(0);
totalAssetsCount = currentPathEntity!.assetCount;
await getAssetsFromEntity(0, currentPathEntity!);
// Update total assets count.
} else {
isAssetsEmpty = true;
}
}