toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"set_id": setId,
"width": width,
"height": height,
"emoji": emoji,
"is_animated": isAnimated,
"is_mask": isMask,
"mask_position": maskPosition?.toJson(),
"outline": outline.map((i) => i.toJson()).toList(),
"thumbnail": thumbnail?.toJson(),
"sticker": sticker.toJson(),
};
}