copyWith method
WebApiModulesSettingsAccountingSettingsProfitCenterProfitCenter
copyWith({
- String? profitCenterId,
- String? chargeCode1,
- String? chargeCode2,
- String? chargeCode3,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsAccountingSettingsProfitCenterProfitCenter copyWith(
{String? profitCenterId,
String? chargeCode1,
String? chargeCode2,
String? chargeCode3,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsAccountingSettingsProfitCenterProfitCenter(
profitCenterId: profitCenterId ?? this.profitCenterId,
chargeCode1: chargeCode1 ?? this.chargeCode1,
chargeCode2: chargeCode2 ?? this.chargeCode2,
chargeCode3: chargeCode3 ?? this.chargeCode3,
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);
}