Video class

A Pexel Video resource.

Implementers
Annotations
  • @JsonSerializable()

Constructors

Video({int? id, int? width, int? height, String? url, String? image, int? duration, Videographer? user, List<VideoFile>? videoFiles, List<VideoPicture>? videoPictures})
const
Video.fromJson(Map<String, dynamic> json)
factory

Properties

duration int?
The duration of the video in seconds.
final
hashCode int
The hash code for this object.
no setterinherited
height int?
The real height of the video in pixels.
final
id int?
The id of the video.
final
image String?
URL to a screenshot of the video.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The Pexels URL where the video is located.
final
user Videographer?
The videographer who shot the video.
final
videoFiles List<VideoFile>?
A list of different sized versions of the video.
final
videoPictures List<VideoPicture>?
A list of preview pictures of the video.
final
width int?
The real width of the video in pixels.
final

Methods

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

Operators

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