copyWith method

  1. @override
PageBlockPhoto copyWith({
  1. Photo? photo,
  2. PageBlockCaption? caption,
  3. String? url,
})
override

Implementation

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