Album class Null safety

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.


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


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


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


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