copyWith method
WebApiModulesHomeControlsRepairPartRepairPart
copyWith({
- String? repairPartId,
- String? repairId,
- String? inventoryId,
- String? warehouseId,
- String? warehouseCode,
- String? warehouse,
- String? iCode,
- String? iCodeColor,
- String? description,
- String? descriptionColor,
- double? quantity,
- String? unit,
- double? price,
- double? grossTotal,
- double? discountAmount,
- double? extended,
- bool? taxable,
- double? tax,
- double? total,
- bool? billable,
- String? itemClass,
- String? itemOrder,
- String? currencySymbol,
- String? orderId,
- String? orderItemId,
- String? orderNumber,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- dynamic urlIdentifier,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - FwStandardBusinessLogicFwBusinessLogic? original,
- List<
FwStandardDataFwTranslatedValue> ? translation, - bool? hasImport,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- String? modifiedDateTime,
Implementation
WebApiModulesHomeControlsRepairPartRepairPart copyWith({
String? repairPartId,
String? repairId,
String? inventoryId,
String? warehouseId,
String? warehouseCode,
String? warehouse,
String? iCode,
String? iCodeColor,
String? description,
String? descriptionColor,
double? quantity,
String? unit,
double? price,
double? grossTotal,
double? discountAmount,
double? extended,
bool? taxable,
double? tax,
double? total,
bool? billable,
String? itemClass,
String? itemOrder,
String? currencySymbol,
String? orderId,
String? orderItemId,
String? orderNumber,
String? dateStamp,
String? auditNote,
String? recordTitle,
dynamic urlIdentifier,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
FwStandardBusinessLogicFwBusinessLogic? original,
List<FwStandardDataFwTranslatedValue>? translation,
bool? hasImport,
String? createdByUserId,
String? createdByUserName,
String? createdDateTime,
String? modifiedByUserId,
String? modifiedByUserName,
String? modifiedDateTime,
}) {
return WebApiModulesHomeControlsRepairPartRepairPart(
repairPartId: repairPartId ?? this.repairPartId,
repairId: repairId ?? this.repairId,
inventoryId: inventoryId ?? this.inventoryId,
warehouseId: warehouseId ?? this.warehouseId,
warehouseCode: warehouseCode ?? this.warehouseCode,
warehouse: warehouse ?? this.warehouse,
iCode: iCode ?? this.iCode,
iCodeColor: iCodeColor ?? this.iCodeColor,
description: description ?? this.description,
descriptionColor: descriptionColor ?? this.descriptionColor,
quantity: quantity ?? this.quantity,
unit: unit ?? this.unit,
price: price ?? this.price,
grossTotal: grossTotal ?? this.grossTotal,
discountAmount: discountAmount ?? this.discountAmount,
extended: extended ?? this.extended,
taxable: taxable ?? this.taxable,
tax: tax ?? this.tax,
total: total ?? this.total,
billable: billable ?? this.billable,
itemClass: itemClass ?? this.itemClass,
itemOrder: itemOrder ?? this.itemOrder,
currencySymbol: currencySymbol ?? this.currencySymbol,
orderId: orderId ?? this.orderId,
orderItemId: orderItemId ?? this.orderItemId,
orderNumber: orderNumber ?? this.orderNumber,
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,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}