Video class

Implemented types

Constructors

Video({int duration, int width, int height, String fileName, String mimeType, bool hasStickers, bool supportsStreaming, Minithumbnail minithumbnail, PhotoSize thumbnail, File video})
Describes a video file. duration Duration of the video, in seconds; as defined by the sender . width Video width; as defined by the sender . height Video height; as defined by the sender. fileName Original name of the file; as defined by the sender . mimeType MIME type of the file; as defined by the sender . hasStickers True, if stickers were added to the video. supportsStreaming True, if the video should be tried to be streamed . minithumbnail Video minithumbnail; may be null . thumbnail Video thumbnail; as defined by the sender; may be null . video File containing the video
Video.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

duration int
read / write
fileName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasStickers bool
read / write
height int
read / write
mimeType String
read / write
minithumbnail Minithumbnail
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
supportsStreaming bool
read / write
thumbnail PhotoSize
read / write
video File
read / write
width int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"video"