copyWith method

WebApiModulesInventoryCompleteQcCompleteQcItemResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. String? inventoryId,
  5. String? iCode,
  6. String? description,
  7. String? conditionId,
  8. String? condition,
  9. String? itemId,
  10. String? itemQcId,
  11. bool? cannotQcItemBecauseOfStatus,
  12. bool? itemDoesNotNeedQc,
  13. bool? showFootCandles,
  14. int? requiredFootCandles,
  15. bool? showSoftwareVersion,
  16. String? requiredSoftwareVersion,
  17. bool? showAssetUsage,
  18. bool? showLampUsage,
  19. bool? showStrikes,
  20. 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);
}