copyWith method
TheMoviePersonDetail
copyWith(
{ - String? birthday,
- String? knownForDepartment,
- dynamic deathday,
- int? id,
- String? name,
- List<String>? alsoKnownAs,
- int? gender,
- String? biography,
- num? popularity,
- String? placeOfBirth,
- String? profilePath,
- bool? adult,
- String? imdbId,
- dynamic homepage,
})
Implementation
TheMoviePersonDetail copyWith({
String? birthday,
String? knownForDepartment,
dynamic deathday,
int? id,
String? name,
List<String>? alsoKnownAs,
int? gender,
String? biography,
num? popularity,
String? placeOfBirth,
String? profilePath,
bool? adult,
String? imdbId,
dynamic homepage,
}) =>
TheMoviePersonDetail(
birthday: birthday ?? this.birthday,
knownForDepartment: knownForDepartment ?? this.knownForDepartment,
deathday: deathday ?? this.deathday,
id: id ?? this.id,
name: name ?? this.name,
alsoKnownAs: alsoKnownAs ?? this.alsoKnownAs,
gender: gender ?? this.gender,
biography: biography ?? this.biography,
popularity: popularity ?? this.popularity,
placeOfBirth: placeOfBirth ?? this.placeOfBirth,
profilePath: profilePath ?? this.profilePath,
adult: adult ?? this.adult,
imdbId: imdbId ?? this.imdbId,
homepage: homepage ?? this.homepage,
);