copyWith method

PageBlockCollage copyWith({
  1. List<PageBlock>? blocks,
  2. PageBlockCaption? caption,
})

Implementation

PageBlockCollage copyWith({
  List<PageBlock>? blocks,
  PageBlockCaption? caption,
}) => PageBlockCollage(
  blocks: blocks ?? this.blocks,
  caption: caption ?? this.caption,
);