MediaPage class
A list of media with pagination support.
- Annotations
Constructors
- MediaPage.fromJson(Album album, dynamic json, {bool? lightWeight})
- Creates a range of media from platform channel protocol.
Properties
- album → Album
-
The album that belongs to
final
- end → int
-
The end index in the album.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- isLast → bool
-
Indicates whether this page is the last in the album.
no setter
-
items
→ List<
Medium> -
The current items.
final
- lightWeight → bool?
-
Whether using light weight option
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
The start offset for those media.
final
Methods
-
nextPage(
) → Future< MediaPage> - Gets the next page of media in the album.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override