Bank constructor
Bank({})
Implementation
factory Bank({
$core.List<$core.int>? id,
$core.List<$core.int>? owner,
$core.String? shortName,
$core.String? displayName,
$core.Iterable<BankAccountRef>? accounts,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (owner != null) {
_result.owner = owner;
}
if (shortName != null) {
_result.shortName = shortName;
}
if (displayName != null) {
_result.displayName = displayName;
}
if (accounts != null) {
_result.accounts.addAll(accounts);
}
return _result;
}