copyWith method

InputPageBlockListItem copyWith({
  1. List<InputPageBlock>? blocks,
  2. bool? hasCheckbox,
  3. bool? isChecked,
  4. int? value,
  5. String? type,
})

Implementation

InputPageBlockListItem copyWith({
  List<InputPageBlock>? blocks,
  bool? hasCheckbox,
  bool? isChecked,
  int? value,
  String? type,
}) => InputPageBlockListItem(
  blocks: blocks ?? this.blocks,
  hasCheckbox: hasCheckbox ?? this.hasCheckbox,
  isChecked: isChecked ?? this.isChecked,
  value: value ?? this.value,
  type: type ?? this.type,
);