Album class

Representation of an album in Google Photos.

Albums are containers for media items. If an album has been shared by the application, it contains an extra shareInfo property.

Constructors

Album({String? coverPhotoBaseUrl, String? coverPhotoMediaItemId, String? id, bool? isWriteable, String? mediaItemsCount, String? productUrl, ShareInfo? shareInfo, String? title})
Album.fromJson(Map json_)

Properties

coverPhotoBaseUrl String?
A URL to the cover photo's bytes.
getter/setter pair
coverPhotoMediaItemId String?
Identifier for the media item associated with the cover photo.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Identifier for the album.
getter/setter pair
isWriteable bool?
True if you can create media items in this album.
getter/setter pair
mediaItemsCount String?
The number of media items in the album.
getter/setter pair
productUrl String?
Google Photos URL for the album.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareInfo ShareInfo?
Information related to shared albums.
getter/setter pair
title String?
Name of the album displayed to the user in their Google Photos account.
getter/setter pair

Methods

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

Operators

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