toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'type': type?.toJson(),
  'media': media?.toJson(),
  'thumbnail': thumbnail?.toJson(),
  'added_sticker_file_ids': addedStickerFileIds.map((item) => item).toList(),
  'width': width,
  'height': height,
  '@type': constructor,
};