Sticker constructor

const Sticker({
  1. required String fileId,
  2. required String fileUniqueId,
  3. required StickerType type,
  4. required int width,
  5. required int height,
  6. required bool isAnimated,
  7. required bool isVideo,
  8. PhotoSize? thumbnail,
  9. String? emoji,
  10. String? setName,
  11. File? premiumAnimation,
  12. MaskPosition? maskPosition,
  13. String? customEmojiId,
  14. int? fileSize,
  15. bool? needsRepainting,
})

Constructs a Sticker object

Implementation

const Sticker({
  required this.fileId,
  required this.fileUniqueId,
  required this.type,
  required this.width,
  required this.height,
  required this.isAnimated,
  required this.isVideo,
  this.thumbnail,
  this.emoji,
  this.setName,
  this.premiumAnimation,
  this.maskPosition,
  this.customEmojiId,
  this.fileSize,
  this.needsRepainting,
});