getAssetsFromCurrentPath method

Future<void> getAssetsFromCurrentPath()

Get assets list from current path entity. 从当前已选路径获取资源列表

Implementation

Future<void> getAssetsFromCurrentPath() async {
  if (_pathsList.isNotEmpty) {
    totalAssetsCount = currentPath!.assetCount;
    await getAssetsFromPath(0, currentPath!);
  } else {
    isAssetsEmpty = true;
  }
}