copyWith method
Implementation
StandaloneAccountType copyWith(
{String? depository,
String? credit,
String? loan,
String? investment,
String? other}) {
return StandaloneAccountType(
depository: depository ?? this.depository,
credit: credit ?? this.credit,
loan: loan ?? this.loan,
investment: investment ?? this.investment,
other: other ?? this.other);
}