copyWith method

WebApiModulesSettingsCustomerSettingsCustomerStatusCustomerStatus copyWith({
  1. String? customerStatusId,
  2. String? customerStatus,
  3. String? statusType,
  4. String? creditStatusId,
  5. String? creditStatus,
  6. bool? inactive,
  7. String? dateStamp,
  8. String? auditNote,
  9. String? recordTitle,
  10. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  11. List<FwStandardDataFwCustomValue>? custom,
  12. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  13. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsCustomerSettingsCustomerStatusCustomerStatus copyWith(
    {String? customerStatusId,
    String? customerStatus,
    String? statusType,
    String? creditStatusId,
    String? creditStatus,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsCustomerSettingsCustomerStatusCustomerStatus(
      customerStatusId: customerStatusId ?? this.customerStatusId,
      customerStatus: customerStatus ?? this.customerStatus,
      statusType: statusType ?? this.statusType,
      creditStatusId: creditStatusId ?? this.creditStatusId,
      creditStatus: creditStatus ?? this.creditStatus,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}