copyWith method

TheMovieCollection copyWith({
  1. int? id,
  2. int? userId,
  3. int? proId,
  4. int? isPublic,
  5. String? label,
  6. String? thumbnailUrl,
})

Implementation

TheMovieCollection copyWith({
  int? id,
  int? userId,
  int? proId,
  int? isPublic,
  String? label,
  String? thumbnailUrl,
}) =>
    TheMovieCollection(
      id: id ?? this.id,
      userId: userId ?? this.userId,
      proId: proId ?? this.proId,
      isPublic: isPublic ?? this.isPublic,
      label: label ?? this.label,
      thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
    );