copyWith method

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

Implementation

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