copyWith method
TheMovieCast
copyWith(
{ - bool? adult,
- int? gender,
- int? id,
- String? knownForDepartment,
- String? name,
- String? originalName,
- num? popularity,
- String? profilePath,
- int? castId,
- String? character,
- String? creditId,
- int? order,
})
Implementation
TheMovieCast copyWith({
bool? adult,
int? gender,
int? id,
String? knownForDepartment,
String? name,
String? originalName,
num? popularity,
String? profilePath,
int? castId,
String? character,
String? creditId,
int? order,
}) =>
TheMovieCast(
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,
castId: castId ?? this.castId,
character: character ?? this.character,
creditId: creditId ?? this.creditId,
order: order ?? this.order,
);