copyWith method
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,
);