copyWith method

TheMovieDetailBelongsToCollection copyWith({
  1. int? id,
  2. String? name,
  3. String? posterPath,
  4. String? backdropPath,
})

Implementation

TheMovieDetailBelongsToCollection copyWith({
  int? id,
  String? name,
  String? posterPath,
  String? backdropPath,
}) =>
    TheMovieDetailBelongsToCollection(
      id: id ?? this.id,
      name: name ?? this.name,
      posterPath: posterPath ?? this.posterPath,
      backdropPath: backdropPath ?? this.backdropPath,
    );