toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"id": id,
"small": small.toJson(),
"big": big.toJson(),
"minithumbnail": minithumbnail?.toJson(),
"has_animation": hasAnimation,
};
}