Video class

Inheritance

Constructors

Video({int duration, int width, int height, String fileName, String mimeType, bool hasStickers, bool supportsStreaming, Minithumbnail minithumbnail, Thumbnail thumbnail, File video})
Describes a video file
Video.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

duration int
duration Duration of the video, in seconds; as defined by the sender
read / write
fileName String
fileName Original name of the file; as defined by the sender
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasStickers bool
hasStickers True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets
read / write
height int
height Video height; as defined by the sender
read / write
mimeType String
mimeType MIME type of the file; as defined by the sender
read / write
minithumbnail Minithumbnail
minithumbnail Video minithumbnail; may be null
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
supportsStreaming bool
supportsStreaming True, if the video should be tried to be streamed
read / write
thumbnail Thumbnail
thumbnail Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null
read / write
video File
video File containing the video
read / write
width int
width Video width; as defined by the sender
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'video'