copyWith method

WebApiApplyBottomLineDaysPerWeekRequest copyWith({
  1. String? orderId,
  2. String? purchaseOrderId,
  3. String? invoiceId,
  4. String? recType,
  5. bool? subs,
  6. double? daysPerWeek,
})

Implementation

WebApiApplyBottomLineDaysPerWeekRequest copyWith({
  String? orderId,
  String? purchaseOrderId,
  String? invoiceId,
  String? recType,
  bool? subs,
  double? daysPerWeek,
}) {
  return WebApiApplyBottomLineDaysPerWeekRequest(
    orderId: orderId ?? this.orderId,
    purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
    invoiceId: invoiceId ?? this.invoiceId,
    recType: recType ?? this.recType,
    subs: subs ?? this.subs,
    daysPerWeek: daysPerWeek ?? this.daysPerWeek,
  );
}