MediaPage class
A list of media with pagination support.
- Annotations
Constructors
- MediaPage.fromJson(Album album, dynamic json)
- Creates a range of media from platform channel protocol.
Properties
- album → Album
-
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
- newest → bool
-
The sort direction is newest or not
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
The start offset for those media.
final
- total → int
-
The total number of items.
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