copyWith method

WebApiModulesInventoryInventoryPrepInventoryPrep copyWith({
  1. String? inventoryPrepId,
  2. String? inventoryId,
  3. String? iCode,
  4. String? description,
  5. String? prepRateId,
  6. String? prepICode,
  7. String? prepDescription,
  8. String? prepUnit,
  9. String? prepUnitType,
  10. bool? isDefault,
  11. double? prepRate,
  12. String? prepTime,
  13. double? prepExtended,
  14. double? qtyOrdered,
  15. double? price,
  16. bool? orderId,
  17. bool? masteritemId,
  18. String? dateStamp,
  19. String? auditNote,
  20. String? recordTitle,
  21. dynamic urlIdentifier,
  22. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  23. List<FwStandardDataFwCustomValue>? custom,
  24. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  25. FwStandardBusinessLogicFwBusinessLogic? original,
  26. List<FwStandardDataFwTranslatedValue>? translation,
  27. bool? hasImport,
  28. bool? hasDocuments,
  29. String? createdByUserId,
  30. String? createdByUserName,
  31. String? createdDateTime,
  32. String? modifiedByUserId,
  33. String? modifiedByUserName,
  34. String? modifiedDateTime,
})

Implementation

WebApiModulesInventoryInventoryPrepInventoryPrep copyWith({
  String? inventoryPrepId,
  String? inventoryId,
  String? iCode,
  String? description,
  String? prepRateId,
  String? prepICode,
  String? prepDescription,
  String? prepUnit,
  String? prepUnitType,
  bool? isDefault,
  double? prepRate,
  String? prepTime,
  double? prepExtended,
  double? qtyOrdered,
  double? price,
  bool? orderId,
  bool? masteritemId,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesInventoryInventoryPrepInventoryPrep(
    inventoryPrepId: inventoryPrepId ?? this.inventoryPrepId,
    inventoryId: inventoryId ?? this.inventoryId,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    prepRateId: prepRateId ?? this.prepRateId,
    prepICode: prepICode ?? this.prepICode,
    prepDescription: prepDescription ?? this.prepDescription,
    prepUnit: prepUnit ?? this.prepUnit,
    prepUnitType: prepUnitType ?? this.prepUnitType,
    isDefault: isDefault ?? this.isDefault,
    prepRate: prepRate ?? this.prepRate,
    prepTime: prepTime ?? this.prepTime,
    prepExtended: prepExtended ?? this.prepExtended,
    qtyOrdered: qtyOrdered ?? this.qtyOrdered,
    price: price ?? this.price,
    orderId: orderId ?? this.orderId,
    masteritemId: masteritemId ?? this.masteritemId,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    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,
  );
}