SearchMediaItemsRequest class Null safety

Request to search for media items in a user's library.

If the album id is specified, this call will return the list of media items in the album. If neither filters nor album id are specified, this call will return all media items in a user's Google Photos library. If filters are specified, this call will return all media items in the user's library that fulfill the filter criteria. Filters and album id must not both be set, as this will result in an invalid request.


SearchMediaItemsRequest({String? albumId, Filters? filters, String? orderBy, int? pageSize, String? pageToken})
SearchMediaItemsRequest.fromJson(Map json_)


albumId String?
Identifier of an album.
read / write
filters Filters?
Filters to apply to the request.
read / write
hashCode int
The hash code for this object.
orderBy String?
An optional field to specify the sort order of the search results.
read / write
pageSize int?
Maximum number of media items to return in the response.
read / write
pageToken String?
A continuation token to get the next page of the results.
read / write
runtimeType Type
A representation of the runtime type of the object.


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.