copyWith method

WebApiModulesWarehouseCheckInCheckInSessionInfo copyWith({
  1. String? contractId,
  2. int? sessionNumber,
  3. String? dealId,
  4. String? deal,
  5. String? departmentId,
  6. String? department,
  7. bool? hasSales,
})

Implementation

WebApiModulesWarehouseCheckInCheckInSessionInfo copyWith(
    {String? contractId,
    int? sessionNumber,
    String? dealId,
    String? deal,
    String? departmentId,
    String? department,
    bool? hasSales}) {
  return WebApiModulesWarehouseCheckInCheckInSessionInfo(
      contractId: contractId ?? this.contractId,
      sessionNumber: sessionNumber ?? this.sessionNumber,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      hasSales: hasSales ?? this.hasSales);
}