copyWith method
Implementation
TheMoviePerson copyWith({
String? profilePath,
bool? adult,
int? id,
List<TheMoviePersonKnownFor>? knownFor,
String? name,
num? popularity,
}) =>
TheMoviePerson(
profilePath: profilePath ?? this.profilePath,
adult: adult ?? this.adult,
id: id ?? this.id,
knownFor: knownFor ?? this.knownFor,
name: name ?? this.name,
popularity: popularity ?? this.popularity,
);