toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "has_stickers": this.hasStickers,
    "minithumbnail":
        this.minithumbnail == null ? null : this.minithumbnail.toJson(),
    "sizes": this.sizes.map((i) => i.toJson()).toList(),
  };
}