copyWith method

TheMovieReview copyWith({
  1. String? author,
  2. AuthorDetails? authorDetails,
  3. String? content,
  4. String? createdAt,
  5. String? id,
  6. String? updatedAt,
  7. String? url,
})

Implementation

TheMovieReview copyWith({
  String? author,
  AuthorDetails? authorDetails,
  String? content,
  String? createdAt,
  String? id,
  String? updatedAt,
  String? url,
}) =>
    TheMovieReview(
      author: author ?? this.author,
      authorDetails: authorDetails ?? this.authorDetails,
      content: content ?? this.content,
      createdAt: createdAt ?? this.createdAt,
      id: id ?? this.id,
      updatedAt: updatedAt ?? this.updatedAt,
      url: url ?? this.url,
    );