copyWith method

WebApiModulesSettingsFiscalMonthFiscalMonth copyWith({
  1. String? fiscalMonthId,
  2. String? fiscalYearId,
  3. String? year,
  4. int? month,
  5. String? monthDisplay,
  6. String? fromDate,
  7. String? toDate,
  8. String? monthYear,
  9. int? workDays,
  10. String? fiscalOrder,
  11. bool? closed,
  12. String? dateStamp,
  13. String? auditNote,
  14. String? recordTitle,
  15. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  16. List<FwStandardDataFwCustomValue>? custom,
  17. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  18. 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);
}