copyWith method

WebApiModulesWarehouseShippingCaseShippingCase copyWith({
  1. int? shippingCaseId,
  2. String? orderId,
  3. String? orderNumber,
  4. String? orderDescription,
  5. String? orderType,
  6. String? itemId,
  7. String? inventoryId,
  8. String? iCode,
  9. String? itemDescription,
  10. String? barCode,
  11. String? description,
  12. String? shippingCaseNumber,
  13. double? itemCount,
  14. String? shippingCaseTitle,
  15. String? warehouseId,
  16. String? warehouse,
  17. String? auditNote,
  18. String? recordTitle,
  19. dynamic urlIdentifier,
  20. List<Object>? custom,
  21. List<Object>? defaultFieldAttributes,
  22. dynamic original,
  23. List<Object>? translation,
  24. bool? hasImport,
  25. bool? hasDocuments,
  26. String? createdByUserId,
  27. String? createdByUserName,
  28. String? createdDateTime,
  29. String? modifiedByUserId,
  30. String? modifiedByUserName,
  31. String? modifiedDateTime,
})

Implementation

WebApiModulesWarehouseShippingCaseShippingCase copyWith({
  int? shippingCaseId,
  String? orderId,
  String? orderNumber,
  String? orderDescription,
  String? orderType,
  String? itemId,
  String? inventoryId,
  String? iCode,
  String? itemDescription,
  String? barCode,
  String? description,
  String? shippingCaseNumber,
  double? itemCount,
  String? shippingCaseTitle,
  String? warehouseId,
  String? warehouse,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<Object>? custom,
  List<Object>? defaultFieldAttributes,
  dynamic original,
  List<Object>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesWarehouseShippingCaseShippingCase(
    shippingCaseId: shippingCaseId ?? this.shippingCaseId,
    orderId: orderId ?? this.orderId,
    orderNumber: orderNumber ?? this.orderNumber,
    orderDescription: orderDescription ?? this.orderDescription,
    orderType: orderType ?? this.orderType,
    itemId: itemId ?? this.itemId,
    inventoryId: inventoryId ?? this.inventoryId,
    iCode: iCode ?? this.iCode,
    itemDescription: itemDescription ?? this.itemDescription,
    barCode: barCode ?? this.barCode,
    description: description ?? this.description,
    shippingCaseNumber: shippingCaseNumber ?? this.shippingCaseNumber,
    itemCount: itemCount ?? this.itemCount,
    shippingCaseTitle: shippingCaseTitle ?? this.shippingCaseTitle,
    warehouseId: warehouseId ?? this.warehouseId,
    warehouse: warehouse ?? this.warehouse,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}