getAssetListRange method
The start
and end
like the String.substring.
Implementation
Future<List<AssetEntity>> getAssetListRange({
required int start,
required int end,
}) async {
assert(this.albumType == 1, "Just album type can get asset.");
assert(start >= 0, "The start must better than 0.");
assert(end > start, "The end must better than start.");
return PhotoManager._getAssetWithRange(
entity: this,
start: start,
end: end,
);
}