Media constructor

const Media({
  1. required int id,
  2. String? url,
  3. String? path,
  4. required MediaType type,
  5. String? thumbnailUrl,
})

Implementation

const Media({
  required this.id,
  this.url,
  this.path,
  required this.type,
  this.thumbnailUrl,
});