XAlbum class

A user-visible album / collection in the system photo library (PHAssetCollection on Apple, MediaStore.Bucket on Android).

Constructors

XAlbum({required String id, required String name, required int count, XAssetKind? coverKind})
Binds an album's identity to its listing metadata.
const

Properties

count → int
How many assets the album holds.
final
coverKind → XAssetKind?
Kind of the album's key asset, or null for an empty album.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable platform identifier, used to fetch the album's assets.
final
name → String
Title as the system Photos app shows it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited