copyWith method

WebApiModulesUtilitiesQuikActivityQuikActivity copyWith({
  1. int? activityId,
  2. String? activityDate,
  3. String? activityTime,
  4. String? activityTypeId,
  5. String? activityTypeDescription,
  6. String? activityTypeColor,
  7. String? activityTypeTextColor,
  8. int? activityStatusId,
  9. String? activityStatus,
  10. String? activityStatusColor,
  11. String? activityStatusTextColor,
  12. String? orderId,
  13. String? orderNumber,
  14. String? orderType,
  15. String? orderTypeController,
  16. String? orderDescription,
  17. String? orderLocation,
  18. String? agentId,
  19. String? agent,
  20. String? dealId,
  21. String? deal,
  22. String? vendorId,
  23. String? vendor,
  24. String? inventoryId,
  25. String? iCode,
  26. String? description,
  27. int? totalQuantity,
  28. int? remainingQuantity,
  29. int? completeQuantity,
  30. double? completePercent,
  31. String? assignedToUserId,
  32. String? assignedToUserName,
  33. String? auditNote,
  34. String? recordTitle,
  35. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  36. List<FwStandardDataFwCustomValue>? custom,
  37. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  38. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesUtilitiesQuikActivityQuikActivity copyWith(
    {int? activityId,
    String? activityDate,
    String? activityTime,
    String? activityTypeId,
    String? activityTypeDescription,
    String? activityTypeColor,
    String? activityTypeTextColor,
    int? activityStatusId,
    String? activityStatus,
    String? activityStatusColor,
    String? activityStatusTextColor,
    String? orderId,
    String? orderNumber,
    String? orderType,
    String? orderTypeController,
    String? orderDescription,
    String? orderLocation,
    String? agentId,
    String? agent,
    String? dealId,
    String? deal,
    String? vendorId,
    String? vendor,
    String? inventoryId,
    String? iCode,
    String? description,
    int? totalQuantity,
    int? remainingQuantity,
    int? completeQuantity,
    double? completePercent,
    String? assignedToUserId,
    String? assignedToUserName,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesUtilitiesQuikActivityQuikActivity(
      activityId: activityId ?? this.activityId,
      activityDate: activityDate ?? this.activityDate,
      activityTime: activityTime ?? this.activityTime,
      activityTypeId: activityTypeId ?? this.activityTypeId,
      activityTypeDescription:
          activityTypeDescription ?? this.activityTypeDescription,
      activityTypeColor: activityTypeColor ?? this.activityTypeColor,
      activityTypeTextColor:
          activityTypeTextColor ?? this.activityTypeTextColor,
      activityStatusId: activityStatusId ?? this.activityStatusId,
      activityStatus: activityStatus ?? this.activityStatus,
      activityStatusColor: activityStatusColor ?? this.activityStatusColor,
      activityStatusTextColor:
          activityStatusTextColor ?? this.activityStatusTextColor,
      orderId: orderId ?? this.orderId,
      orderNumber: orderNumber ?? this.orderNumber,
      orderType: orderType ?? this.orderType,
      orderTypeController: orderTypeController ?? this.orderTypeController,
      orderDescription: orderDescription ?? this.orderDescription,
      orderLocation: orderLocation ?? this.orderLocation,
      agentId: agentId ?? this.agentId,
      agent: agent ?? this.agent,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      vendorId: vendorId ?? this.vendorId,
      vendor: vendor ?? this.vendor,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      totalQuantity: totalQuantity ?? this.totalQuantity,
      remainingQuantity: remainingQuantity ?? this.remainingQuantity,
      completeQuantity: completeQuantity ?? this.completeQuantity,
      completePercent: completePercent ?? this.completePercent,
      assignedToUserId: assignedToUserId ?? this.assignedToUserId,
      assignedToUserName: assignedToUserName ?? this.assignedToUserName,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}