copyWith method
TheMovieCrew
copyWith(
{ - bool? adult,
- int? gender,
- int? id,
- String? knownForDepartment,
- String? name,
- String? originalName,
- num? popularity,
- dynamic profilePath,
- String? creditId,
- String? department,
- String? job,
})
Implementation
TheMovieCrew copyWith({
bool? adult,
int? gender,
int? id,
String? knownForDepartment,
String? name,
String? originalName,
num? popularity,
dynamic profilePath,
String? creditId,
String? department,
String? job,
}) =>
TheMovieCrew(
adult: adult ?? this.adult,
gender: gender ?? this.gender,
id: id ?? this.id,
knownForDepartment: knownForDepartment ?? this.knownForDepartment,
name: name ?? this.name,
originalName: originalName ?? this.originalName,
popularity: popularity ?? this.popularity,
profilePath: profilePath ?? this.profilePath,
creditId: creditId ?? this.creditId,
department: department ?? this.department,
job: job ?? this.job,
);