Animation constructor

const Animation({
  1. required int duration,
  2. required int width,
  3. required int height,
  4. required String fileName,
  5. required String mimeType,
  6. required bool hasStickers,
  7. Minithumbnail? minithumbnail,
  8. Thumbnail? thumbnail,
  9. required File animation,
})

Describes an animation file. The animation must be encoded in GIF or MPEG4 format

Implementation

const Animation({
  required this.duration,
  required this.width,
  required this.height,
  required this.fileName,
  required this.mimeType,
  required this.hasStickers,
  this.minithumbnail,
  this.thumbnail,
  required this.animation,
});