Video constructor

Video({
  1. required int? id,
  2. required int? width,
  3. required int? height,
  4. required int? duration,
  5. required String? url,
  6. required String? image,
  7. required User? user,
  8. required List<VideoFiles>? videoFiles,
  9. required List<VideoPictures>? videoPictures,
})

Named ConstructorsVideo with required params

Implementation

Video(
    {required this.id,
    required this.width,
    required this.height,
    required this.duration,
    required this.url,
    required this.image,
    required this.user,
    required this.videoFiles,
    required this.videoPictures
    /**
   * required this.tags,
   * required this.avgColor,
   * required this.fullRes,
   * */
    });