copyWith method

CreditBankIncomeAccount copyWith({
  1. String? accountId,
  2. String? mask,
  3. String? name,
  4. String? officialName,
  5. DepositoryAccountSubtype? subtype,
  6. CreditBankIncomeAccountType? type,
  7. List<Owner>? owners,
})

Implementation

CreditBankIncomeAccount copyWith(
    {String? accountId,
    String? mask,
    String? name,
    String? officialName,
    enums.DepositoryAccountSubtype? subtype,
    enums.CreditBankIncomeAccountType? type,
    List<Owner>? owners}) {
  return CreditBankIncomeAccount(
      accountId: accountId ?? this.accountId,
      mask: mask ?? this.mask,
      name: name ?? this.name,
      officialName: officialName ?? this.officialName,
      subtype: subtype ?? this.subtype,
      type: type ?? this.type,
      owners: owners ?? this.owners);
}