copyWith method

TheMovieVideo copyWith({
  1. String? iso6391,
  2. String? iso31661,
  3. String? name,
  4. String? key,
  5. String? site,
  6. int? size,
  7. String? type,
  8. bool? official,
  9. String? publishedAt,
  10. String? id,
})

Implementation

TheMovieVideo copyWith({
  String? iso6391,
  String? iso31661,
  String? name,
  String? key,
  String? site,
  int? size,
  String? type,
  bool? official,
  String? publishedAt,
  String? id,
}) =>
    TheMovieVideo(
      iso6391: iso6391 ?? this.iso6391,
      iso31661: iso31661 ?? this.iso31661,
      name: name ?? this.name,
      key: key ?? this.key,
      site: site ?? this.site,
      size: size ?? this.size,
      type: type ?? this.type,
      official: official ?? this.official,
      publishedAt: publishedAt ?? this.publishedAt,
      id: id ?? this.id,
    );