Medium constructor

Medium({
  1. required String id,
  2. String? filename,
  3. String? title,
  4. MediumType? mediumType,
  5. int? width,
  6. int? height,
  7. int? size,
  8. int? orientation = 0,
  9. String? mimeType,
  10. int duration = 0,
  11. DateTime? creationDate,
  12. DateTime? modifiedDate,
})

Implementation

Medium({
  required this.id,
  this.filename,
  this.title,
  this.mediumType,
  this.width,
  this.height,
  this.size,
  this.orientation = 0,
  this.mimeType,
  this.duration = 0,
  this.creationDate,
  this.modifiedDate,
});