StockReconciliationSearchModel.ignoreDeleted constructor

  1. @MappableConstructor()
StockReconciliationSearchModel.ignoreDeleted({
  1. String? id,
  2. String? tenantId,
  3. String? facilityId,
  4. String? productVariantId,
  5. List<String>? clientReferenceId,
  6. int? dateOfReconciliation,
  7. String? boundaryCode,
})

Implementation

@MappableConstructor()
StockReconciliationSearchModel.ignoreDeleted({
  this.id,
  this.tenantId,
  this.facilityId,
  this.productVariantId,
  this.clientReferenceId,
  int? dateOfReconciliation,
  super.boundaryCode,
})  : dateOfReconciliationTime = dateOfReconciliation == null
          ? null
          : DateTime.fromMillisecondsSinceEpoch(dateOfReconciliation),
      super(isDeleted: false);