copyWith method
Implementation
AccountInfo copyWith({
String? accountId,
String? name,
}) {
return AccountInfo(
accountId: accountId ?? this.accountId,
name: name ?? this.name,
);
}
AccountInfo copyWith({
String? accountId,
String? name,
}) {
return AccountInfo(
accountId: accountId ?? this.accountId,
name: name ?? this.name,
);
}