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