AlbumsResource class Null safety


AlbumsResource(ApiRequester client)


hashCode int
The hash code for this object.
runtimeType Type
A representation of the runtime type of the object.


addEnrichment(AddEnrichmentToAlbumRequest request, String albumId, {String? $fields}) Future<AddEnrichmentToAlbumResponse>
Adds an enrichment at a specified position in a defined album.
batchAddMediaItems(BatchAddMediaItemsToAlbumRequest request, String albumId, {String? $fields}) Future<BatchAddMediaItemsToAlbumResponse>
Adds one or more media items in a user's Google Photos library to an album.
batchRemoveMediaItems(BatchRemoveMediaItemsFromAlbumRequest request, String albumId, {String? $fields}) Future<BatchRemoveMediaItemsFromAlbumResponse>
Removes one or more media items from a specified album.
create(CreateAlbumRequest request, {String? $fields}) Future<Album>
Creates an album in a user's Google Photos library.
get(String albumId, {String? $fields}) Future<Album>
Returns the album based on the specified albumId.
list({bool? excludeNonAppCreatedData, int? pageSize, String? pageToken, String? $fields}) Future<ListAlbumsResponse>
Lists all albums shown to a user in the Albums tab of the Google Photos app.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
patch(Album request, String id, {String? updateMask, String? $fields}) Future<Album>
Update the album with the specified id.
share(ShareAlbumRequest request, String albumId, {String? $fields}) Future<ShareAlbumResponse>
Marks an album as shared and accessible to other users.
toString() String
A string representation of this object.
unshare(UnshareAlbumRequest request, String albumId, {String? $fields}) Future<UnshareAlbumResponse>
Marks a previously shared album as private.


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