Animation constructor

const Animation({
  1. required String fileId,
  2. required String fileUniqueId,
  3. required int width,
  4. required int height,
  5. required int duration,
  6. PhotoSize? thumbnail,
  7. String? fileName,
  8. String? mimeType,
  9. int? fileSize,
})

Creates a new Animation object.

Implementation

const Animation({
  required this.fileId,
  required this.fileUniqueId,
  required this.width,
  required this.height,
  required this.duration,
  this.thumbnail,
  this.fileName,
  this.mimeType,
  this.fileSize,
});