Video constructor

const Video({
  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,
})

Constructs a Video object

Implementation

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