BankConnectionsResourceAccountholder.fromJson constructor
BankConnectionsResourceAccountholder.fromJson(
- Object? json
Implementation
factory BankConnectionsResourceAccountholder.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return BankConnectionsResourceAccountholder(
account:
map['account'] == null ? null : AccountOrId.fromJson(map['account']),
customer: map['customer'] == null
? null
: CustomerOrId.fromJson(map['customer']),
type: BankConnectionsResourceAccountholderType.fromJson(map['type']),
);
}