listMedia method

Future<MediaPage> listMedia({
  1. bool newest = true,
  2. int? skip,
  3. int? take,
})

list media in the album.

Pagination can be controlled out of skip (defaults to 0) and take (defaults to <total>).

Implementation

Future<MediaPage> listMedia({
  bool newest = true,
  int? skip,
  int? take,
}) {
  return PhotoGallery._listMedia(
    album: this,
    newest: newest,
    total: this.count,
    skip: skip,
    take: take,
  );
}