copyWith method

Implementation

WebApiModulesInventoryInventoryReceiptAssignICodeResponse copyWith(
    {String? iCode,
    String? inventoryId,
    bool? assigned,
    int? status,
    String? message,
    WebApiModulesInventoryInventoryReceiptItemBarcodeEnableResponse?
        barcodeData}) {
  return WebApiModulesInventoryInventoryReceiptAssignICodeResponse(
      iCode: iCode ?? this.iCode,
      inventoryId: inventoryId ?? this.inventoryId,
      assigned: assigned ?? this.assigned,
      status: status ?? this.status,
      message: message ?? this.message,
      barcodeData: barcodeData ?? this.barcodeData);
}