copyWith method

WebApiModulesBillingBankAccountBankAccount copyWith({
  1. int? bankAccountId,
  2. String? accountName,
  3. String? checkNumber,
  4. String? officeLocationId,
  5. String? location,
  6. String? currencyId,
  7. String? currency,
  8. String? currencyCode,
  9. String? currencySymbol,
  10. bool? inactive,
  11. String? dateStamp,
  12. String? auditNote,
  13. String? recordTitle,
  14. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  15. List<FwStandardDataFwCustomValue>? custom,
  16. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesBillingBankAccountBankAccount copyWith(
    {int? bankAccountId,
    String? accountName,
    String? checkNumber,
    String? officeLocationId,
    String? location,
    String? currencyId,
    String? currency,
    String? currencyCode,
    String? currencySymbol,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesBillingBankAccountBankAccount(
      bankAccountId: bankAccountId ?? this.bankAccountId,
      accountName: accountName ?? this.accountName,
      checkNumber: checkNumber ?? this.checkNumber,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      location: location ?? this.location,
      currencyId: currencyId ?? this.currencyId,
      currency: currency ?? this.currency,
      currencyCode: currencyCode ?? this.currencyCode,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}