copyWith method
WebApiModulesInventoryCompleteQcCompleteQcItemResponse
copyWith({
- int? status,
- bool? success,
- String? msg,
- String? inventoryId,
- String? iCode,
- String? description,
- String? conditionId,
- String? condition,
- String? itemId,
- String? itemQcId,
- bool? cannotQcItemBecauseOfStatus,
- bool? itemDoesNotNeedQc,
- bool? showFootCandles,
- int? requiredFootCandles,
- bool? showSoftwareVersion,
- String? requiredSoftwareVersion,
- bool? showAssetUsage,
- bool? showLampUsage,
- bool? showStrikes,
- int? lampCount,
Implementation
WebApiModulesInventoryCompleteQcCompleteQcItemResponse copyWith(
{int? status,
bool? success,
String? msg,
String? inventoryId,
String? iCode,
String? description,
String? conditionId,
String? condition,
String? itemId,
String? itemQcId,
bool? cannotQcItemBecauseOfStatus,
bool? itemDoesNotNeedQc,
bool? showFootCandles,
int? requiredFootCandles,
bool? showSoftwareVersion,
String? requiredSoftwareVersion,
bool? showAssetUsage,
bool? showLampUsage,
bool? showStrikes,
int? lampCount}) {
return WebApiModulesInventoryCompleteQcCompleteQcItemResponse(
status: status ?? this.status,
success: success ?? this.success,
msg: msg ?? this.msg,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
conditionId: conditionId ?? this.conditionId,
condition: condition ?? this.condition,
itemId: itemId ?? this.itemId,
itemQcId: itemQcId ?? this.itemQcId,
cannotQcItemBecauseOfStatus:
cannotQcItemBecauseOfStatus ?? this.cannotQcItemBecauseOfStatus,
itemDoesNotNeedQc: itemDoesNotNeedQc ?? this.itemDoesNotNeedQc,
showFootCandles: showFootCandles ?? this.showFootCandles,
requiredFootCandles: requiredFootCandles ?? this.requiredFootCandles,
showSoftwareVersion: showSoftwareVersion ?? this.showSoftwareVersion,
requiredSoftwareVersion:
requiredSoftwareVersion ?? this.requiredSoftwareVersion,
showAssetUsage: showAssetUsage ?? this.showAssetUsage,
showLampUsage: showLampUsage ?? this.showLampUsage,
showStrikes: showStrikes ?? this.showStrikes,
lampCount: lampCount ?? this.lampCount);
}