copyWith method

WebApiModulesSettingsAccountingSettingsGlDistributionRuleGlDistributionRule copyWith({
  1. String? glDistributionId,
  2. String? glAccountId,
  3. String? accountType,
  4. String? accountTypeDescription,
  5. String? glAccountNo,
  6. String? glAccountDescription,
  7. String? dateStamp,
  8. String? auditNote,
  9. String? recordTitle,
  10. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  11. List<FwStandardDataFwCustomValue>? custom,
  12. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  13. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsAccountingSettingsGlDistributionRuleGlDistributionRule
    copyWith(
        {String? glDistributionId,
        String? glAccountId,
        String? accountType,
        String? accountTypeDescription,
        String? glAccountNo,
        String? glAccountDescription,
        String? dateStamp,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsAccountingSettingsGlDistributionRuleGlDistributionRule(
      glDistributionId: glDistributionId ?? this.glDistributionId,
      glAccountId: glAccountId ?? this.glAccountId,
      accountType: accountType ?? this.accountType,
      accountTypeDescription:
          accountTypeDescription ?? this.accountTypeDescription,
      glAccountNo: glAccountNo ?? this.glAccountNo,
      glAccountDescription: glAccountDescription ?? this.glAccountDescription,
      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);
}