copyWith method

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

Implementation

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