copyWith method
Implementation
@override
PageBlockPhoto copyWith({
Photo? photo,
PageBlockCaption? caption,
String? url,
}) => PageBlockPhoto(
photo: photo ?? this.photo,
caption: caption ?? this.caption,
url: url ?? this.url,
);
@override
PageBlockPhoto copyWith({
Photo? photo,
PageBlockCaption? caption,
String? url,
}) => PageBlockPhoto(
photo: photo ?? this.photo,
caption: caption ?? this.caption,
url: url ?? this.url,
);