Animation class

Implemented types

Constructors

Animation({int duration, int width, int height, String fileName, String mimeType, Minithumbnail minithumbnail, PhotoSize thumbnail, File animation})
Describes an animation file. The animation must be encoded in GIF or MPEG4 format. duration Duration of the animation, in seconds; as defined by the sender . width Width of the animation . height Height of the animation. fileName Original name of the file; as defined by the sender . mimeType MIME type of the file, usually "image/gif" or "video/mp4". minithumbnail Animation minithumbnail; may be null . thumbnail Animation thumbnail; may be null . animation File containing the animation
Animation.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

animation File
read / write
duration int
read / write
fileName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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
thumbnail PhotoSize
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
"animation"