copyWith method

WebApiModulesHomeControlsCompanyCompany copyWith({
  1. String? companyId,
  2. String? companyNumber,
  3. String? company,
  4. String? companyType,
  5. String? companyTypeColor,
  6. String? auditNote,
  7. String? recordTitle,
  8. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  9. List<FwStandardDataFwCustomValue>? custom,
  10. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  11. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsCompanyCompany copyWith(
    {String? companyId,
    String? companyNumber,
    String? company,
    String? companyType,
    String? companyTypeColor,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsCompanyCompany(
      companyId: companyId ?? this.companyId,
      companyNumber: companyNumber ?? this.companyNumber,
      company: company ?? this.company,
      companyType: companyType ?? this.companyType,
      companyTypeColor: companyTypeColor ?? this.companyTypeColor,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}