copyWith method

InputPageBlockDetails copyWith({
  1. RichText? header,
  2. List<InputPageBlock>? blocks,
  3. bool? isOpen,
})

Implementation

InputPageBlockDetails copyWith({
  RichText? header,
  List<InputPageBlock>? blocks,
  bool? isOpen,
}) => InputPageBlockDetails(
  header: header ?? this.header,
  blocks: blocks ?? this.blocks,
  isOpen: isOpen ?? this.isOpen,
);