copyWith method

PairwiseComparisonInput copyWith({
  1. int? preferenceValue,
  2. bool? isLeftMoreImportant,
})

Implementation

PairwiseComparisonInput copyWith({
  int? preferenceValue,
  bool? isLeftMoreImportant,
}) =>
    PairwiseComparisonInput(
      id: id,
      left: left,
      right: right,
      preferenceValue: preferenceValue ?? this.preferenceValue,
      isLeftMoreImportant: isLeftMoreImportant ?? this.isLeftMoreImportant,
    );