BatchCreateMediaItemsRequest class Null safety

Request to create one or more media items in a user's Google Photos library.

If an albumid is specified, the media items are also added to that album. albumPosition is optional and can only be specified if an albumId is set.

Constructors

BatchCreateMediaItemsRequest({String? albumId, AlbumPosition? albumPosition, List<NewMediaItem>? newMediaItems})
BatchCreateMediaItemsRequest.fromJson(Map json_)

Properties

albumId String?
Identifier of the album where the media items are added.
read / write
albumPosition AlbumPosition?
Position in the album where the media items are added.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
newMediaItems List<NewMediaItem>?
List of media items to be created.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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