MessageAnimation class

Inheritance

Constructors

MessageAnimation({Animation animation, FormattedText caption, bool isSecret})
An animation message (GIF-style).
MessageAnimation.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

animation Animation
animation The animation description
read / write
caption FormattedText
caption Animation caption
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isSecret bool
isSecret True, if the animation thumbnail must be blurred and the animation must be shown only while tapped
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
'messageAnimation'