copyWith method
Implementation
PageBlockRelatedArticle copyWith({
String? url,
String? title,
String? description,
Photo? photo,
String? author,
int? publishDate,
}) =>
PageBlockRelatedArticle(
url: url ?? this.url,
title: title ?? this.title,
description: description ?? this.description,
photo: photo ?? this.photo,
author: author ?? this.author,
publishDate: publishDate ?? this.publishDate,
);