Album class

A album in the gallery.

Annotations

Constructors

Album.fromJson(dynamic json, MediumType? mediumType, bool newest)
Creates a album from platform channel protocol.

Properties

count int
The total number of media in the album.
final
hashCode int
The hash code for this object.
no setteroverride
id String
A unique identifier for the album.
final
isAllAlbum bool
Indicates whether this album contains all media.
no setter
mediumType MediumType?
The MediumType of the album.
final
name String?
The name of the album.
final
newest bool
The sort direction is newest or not
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getThumbnail({int? width, int? height, bool? highQuality = false}) Future<List<int>>
Get thumbnail data for this album.
listMedia({int? skip, int? take, bool? lightWeight}) Future<MediaPage>
list media in the album.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override