copyWith method

ReceiptDetailFilter copyWith({
  1. InWhere<int>? branchIds,
  2. InWhere<int>? accountIds,
  3. InWhere<int>? receiptIds,
  4. InWhere<int>? typeIds,
  5. InWhere<int>? currencyIds,
  6. InWhere<int>? measureUnitIds,
  7. InWhere<int>? userIds,
  8. NumberRangeWhere<double>? price,
  9. LikeWhere? text,
})

Implementation

ReceiptDetailFilter copyWith({
  InWhere<int>? branchIds,
  InWhere<int>? accountIds,
  InWhere<int>? receiptIds,
  InWhere<int>? typeIds,
  InWhere<int>? currencyIds,
  InWhere<int>? measureUnitIds,
  InWhere<int>? userIds,
  NumberRangeWhere<double>? price,
  LikeWhere? text,
}) =>
    ReceiptDetailFilter(
      branchIds: branchIds ?? this.branchIds,
      accountIds: accountIds ?? this.accountIds,
      currencyIds: currencyIds ?? this.currencyIds,
      receiptIds: receiptIds ?? this.receiptIds,
      typeIds: typeIds ?? this.typeIds,
      userIds: userIds ?? this.userIds,
      price: price ?? this.price,
      text: text ?? this.text,
    );