PaginatedVideos class

A paginated list of VideoFulls.

Annotations
  • @freezed

Constructors

PaginatedVideos({@JsonKey(fromJson: _parseTotal) int? total, @Default([]) List<VideoFull> items, @Default(false) bool paginated})
Creates a paginated list of VideoFulls.
const
factory
PaginatedVideos.fromJson(Map<String, dynamic> json)
Creates a paginated list of VideoFulls from a JSON object.
factory
PaginatedVideos.fromString(String json)
Creates a paginated list of VideoFulls from a JSON string.
factory

Properties

copyWith → $PaginatedVideosCopyWith<PaginatedVideos>
no setterinherited
first VideoFull
Returns the first element.
no setter
hashCode int
The hash code for this object.
no setterinherited
items List<VideoFull>
no setterinherited
paginated bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int?
The total number of videos on the server.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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