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