copyWith method

QuickbooksMarkupInfo copyWith({
  1. QuickbooksReferenceType? priceLevelRef,
  2. double? percent,
  3. QuickbooksReferenceType? markupIncomeAccountRef,
})

Implementation

QuickbooksMarkupInfo copyWith({
  QuickbooksReferenceType? priceLevelRef,
  double? percent,
  QuickbooksReferenceType? markupIncomeAccountRef,
}) {
  return QuickbooksMarkupInfo(
    priceLevelRef: priceLevelRef ?? this.priceLevelRef,
    percent: percent ?? this.percent,
    markupIncomeAccountRef:
        markupIncomeAccountRef ?? this.markupIncomeAccountRef,
  );
}