copyWith method
WebApiModulesSettingsFiscalMonthFiscalMonth
copyWith({
- String? fiscalMonthId,
- String? fiscalYearId,
- String? year,
- int? month,
- String? monthDisplay,
- String? fromDate,
- String? toDate,
- String? monthYear,
- int? workDays,
- String? fiscalOrder,
- bool? closed,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsFiscalMonthFiscalMonth copyWith(
{String? fiscalMonthId,
String? fiscalYearId,
String? year,
int? month,
String? monthDisplay,
String? fromDate,
String? toDate,
String? monthYear,
int? workDays,
String? fiscalOrder,
bool? closed,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsFiscalMonthFiscalMonth(
fiscalMonthId: fiscalMonthId ?? this.fiscalMonthId,
fiscalYearId: fiscalYearId ?? this.fiscalYearId,
year: year ?? this.year,
month: month ?? this.month,
monthDisplay: monthDisplay ?? this.monthDisplay,
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
monthYear: monthYear ?? this.monthYear,
workDays: workDays ?? this.workDays,
fiscalOrder: fiscalOrder ?? this.fiscalOrder,
closed: closed ?? this.closed,
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);
}