MediaV2 constructor

const MediaV2({
  1. required String mediaKey,
  2. required String type,
  3. String? url,
  4. int? height,
  5. int? width,
  6. double? durationMilliseconds,
  7. String? previewImageUrl,
})

Implementation

const MediaV2({
  required this.mediaKey,
  required this.type,
  this.url,
  this.height,
  this.width,
  this.durationMilliseconds,
  this.previewImageUrl,
});