MediaEntity constructor

MediaEntity({
  1. required double id,
  2. required String mediaUrlHttps,
  3. required dynamic url,
  4. required dynamic displayUrl,
  5. required dynamic expandedUrl,
  6. required String type,
  7. Sizes? sizes,
  8. VideoInfo? videoInfo,
  9. required dynamic indices,
})

Implementation

MediaEntity({
  required this.id,
  required this.mediaUrlHttps,
  required url,
  required displayUrl,
  required expandedUrl,
  required this.type,
  this.sizes,
  this.videoInfo,
  required indices,
}) : super(
          url: url,
          displayUrl: displayUrl,
          expandedUrl: expandedUrl,
          indices: indices);