toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"duration": duration,
"width": width,
"height": height,
"has_stickers": hasStickers,
"is_animation": isAnimation,
"minithumbnail": minithumbnail?.toJson(),
"thumbnail": thumbnail?.toJson(),
"preload_prefix_size": preloadPrefixSize,
"video": video.toJson(),
};
}