MediaCollection class

A media user collection.

Annotations

Constructors

MediaCollection(String id, String name, int count)
MediaCollection.fromJson(dynamic json)
Creates a range of media from platform channel protocol.

Properties

count int
The total number of medias in the collection.
final
hashCode int
The hash code for this object.
no setterinherited
id String
A unique identifier for the collection.
final
isAllCollection bool
Indicates whether this collection contains all medias.
no setter
name String
The name of the collection.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getMedias({MediaType? mediaType, int? skip, int? take}) Future<MediaPage>
Get media of the given mediaType.
getThumbnail({int? width, int? height, bool highQuality = false}) Future<List<int>?>
Get thumbnail data for this collection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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