Video constructor

Video({
  1. required String id,
  2. String? iso_639_1,
  3. String? iso_3166_1,
  4. String? key,
  5. String? name,
  6. String? site,
  7. int? size,
  8. String? type,
})

Implementation

Video({
  required this.id,
  this.iso_639_1,
  this.iso_3166_1,
  this.key,
  String? name,
  this.site,
  int? size,
  this.type,
})  : size = size ?? 0,
      name = name ?? '';