copyWith method
Implementation
MovieInfo copyWith({
int? id,
String? title,
int? year,
String? producer,
String? synopsys,
String? thumbnailUrl,
int? tmdbId,
}) =>
MovieInfo(
id: id ?? this.id,
title: title ?? this.title,
year: year ?? this.year,
producer: producer ?? this.producer,
synopsys: synopsys ?? this.synopsys,
thumbnailUrl: thumbnailUrl ?? this.thumbnailUrl,
tmdbId: tmdbId ?? this.tmdbId,
);