copyWith method

WebApiModulesHomeControlsSuspendedSessionSuspendedSession copyWith({
  1. String? contractId,
  2. int? sessionNumber,
  3. String? deal,
  4. String? dealNumber,
  5. String? dealOrVendor,
  6. String? orderNumber,
  7. String? orderDescription,
  8. String? orderId,
  9. String? userName,
  10. String? userNameFirstMiddleLast,
  11. String? status,
  12. String? statusDate,
  13. String? usersId,
  14. String? contractDate,
  15. String? contractTime,
  16. String? dealId,
  17. String? departmentId,
  18. String? department,
  19. String? officeLocationId,
  20. String? warehouseId,
  21. String? warehouse,
  22. String? exchangeContractId,
  23. String? contractType,
  24. bool? isForcedSuspend,
  25. String? containerItemId,
  26. String? containerScannableItemId,
  27. String? auditNote,
  28. String? recordTitle,
  29. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  30. List<FwStandardDataFwCustomValue>? custom,
  31. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesHomeControlsSuspendedSessionSuspendedSession copyWith(
    {String? contractId,
    int? sessionNumber,
    String? deal,
    String? dealNumber,
    String? dealOrVendor,
    String? orderNumber,
    String? orderDescription,
    String? orderId,
    String? userName,
    String? userNameFirstMiddleLast,
    String? status,
    String? statusDate,
    String? usersId,
    String? contractDate,
    String? contractTime,
    String? dealId,
    String? departmentId,
    String? department,
    String? officeLocationId,
    String? warehouseId,
    String? warehouse,
    String? exchangeContractId,
    String? contractType,
    bool? isForcedSuspend,
    String? containerItemId,
    String? containerScannableItemId,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesHomeControlsSuspendedSessionSuspendedSession(
      contractId: contractId ?? this.contractId,
      sessionNumber: sessionNumber ?? this.sessionNumber,
      deal: deal ?? this.deal,
      dealNumber: dealNumber ?? this.dealNumber,
      dealOrVendor: dealOrVendor ?? this.dealOrVendor,
      orderNumber: orderNumber ?? this.orderNumber,
      orderDescription: orderDescription ?? this.orderDescription,
      orderId: orderId ?? this.orderId,
      userName: userName ?? this.userName,
      userNameFirstMiddleLast:
          userNameFirstMiddleLast ?? this.userNameFirstMiddleLast,
      status: status ?? this.status,
      statusDate: statusDate ?? this.statusDate,
      usersId: usersId ?? this.usersId,
      contractDate: contractDate ?? this.contractDate,
      contractTime: contractTime ?? this.contractTime,
      dealId: dealId ?? this.dealId,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      exchangeContractId: exchangeContractId ?? this.exchangeContractId,
      contractType: contractType ?? this.contractType,
      isForcedSuspend: isForcedSuspend ?? this.isForcedSuspend,
      containerItemId: containerItemId ?? this.containerItemId,
      containerScannableItemId:
          containerScannableItemId ?? this.containerScannableItemId,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}