toJson method

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

Implementation

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