AlbumMedia constructor

AlbumMedia({
  1. required int id,
  2. String uri = '',
  3. required AlbumMediaType mediaType,
  4. String mediaPath = '',
  5. String fileExtension = '',
  6. int fileSize = 0,
  7. String? videoThumbnailPath,
  8. int duration = 0,
})

Implementation

AlbumMedia({
  required this.id,
  this.uri = '',
  required this.mediaType,
  this.mediaPath = '',
  this.fileExtension = '',
  this.fileSize = 0,
  this.videoThumbnailPath,
  this.duration = 0,
});