copyWith method

PageBlockListItem copyWith({
  1. String? label,
  2. List<PageBlock>? pageBlocks,
})

Implementation

PageBlockListItem copyWith({
  String? label,
  List<PageBlock>? pageBlocks,
}) =>
    PageBlockListItem(
      label: label ?? this.label,
      pageBlocks: pageBlocks ?? this.pageBlocks,
    );