copyWith method

TheMovieCrew copyWith({
  1. bool? adult,
  2. int? gender,
  3. int? id,
  4. String? knownForDepartment,
  5. String? name,
  6. String? originalName,
  7. num? popularity,
  8. dynamic profilePath,
  9. String? creditId,
  10. String? department,
  11. 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,
    );