copyWith method
TheMoviePersonCrew
copyWith({
- int? id,
- String? department,
- String? originalLanguage,
- String? originalTitle,
- String? job,
- String? overview,
- int? voteCount,
- bool? video,
- String? posterPath,
- String? backdropPath,
- String? title,
- num? popularity,
- List<
int> ? genreIds, - num? voteAverage,
- bool? adult,
- String? releaseDate,
- String? creditId,
Implementation
TheMoviePersonCrew copyWith({
int? id,
String? department,
String? originalLanguage,
String? originalTitle,
String? job,
String? overview,
int? voteCount,
bool? video,
String? posterPath,
String? backdropPath,
String? title,
num? popularity,
List<int>? genreIds,
num? voteAverage,
bool? adult,
String? releaseDate,
String? creditId,
}) =>
TheMoviePersonCrew(
id: id ?? this.id,
department: department ?? this.department,
originalLanguage: originalLanguage ?? this.originalLanguage,
originalTitle: originalTitle ?? this.originalTitle,
job: job ?? this.job,
overview: overview ?? this.overview,
voteCount: voteCount ?? this.voteCount,
video: video ?? this.video,
posterPath: posterPath ?? this.posterPath,
backdropPath: backdropPath ?? this.backdropPath,
title: title ?? this.title,
popularity: popularity ?? this.popularity,
genreIds: genreIds ?? this.genreIds,
voteAverage: voteAverage ?? this.voteAverage,
adult: adult ?? this.adult,
releaseDate: releaseDate ?? this.releaseDate,
creditId: creditId ?? this.creditId,
);