copyWith method

WebApiModulesSettingsDocumentSettingsTermsConditionsTermsConditions copyWith({
  1. String? termsConditionsId,
  2. String? description,
  3. String? fileName,
  4. String? html,
  5. bool? startOnNewPage,
  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

WebApiModulesSettingsDocumentSettingsTermsConditionsTermsConditions copyWith(
    {String? termsConditionsId,
    String? description,
    String? fileName,
    String? html,
    bool? startOnNewPage,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsDocumentSettingsTermsConditionsTermsConditions(
      termsConditionsId: termsConditionsId ?? this.termsConditionsId,
      description: description ?? this.description,
      fileName: fileName ?? this.fileName,
      html: html ?? this.html,
      startOnNewPage: startOnNewPage ?? this.startOnNewPage,
      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);
}