getAssetListPaged method

Future<List<AssetEntity>> getAssetListPaged(
  1. int page,
  2. int pageSize
)

the image entity list with pagination

Doesn't support AssetPathEntity with only(Video/Image) flag. Throws UnsupportedError

page is starting 0.

pageSize is item count of page.

Implementation

Future<List<AssetEntity>> getAssetListPaged(int page, int pageSize) {
  assert(this.albumType == 1, "Just album type can get asset.");
  assert(pageSize > 0, "The pageSize must better than 0.");
  return PhotoManager._getAssetListPaged(this, page, pageSize);
}