copyWith method
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,
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);
}