toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (name != null) {
json[r'name'] = name;
}
if (key != null) {
json[r'key'] = key;
}
if (bankAccount != null) {
json[r'bankAccount'] = bankAccount;
}
if (bic != null) {
json[r'bic'] = bic;
}
if (proxyBankAccount != null) {
json[r'proxyBankAccount'] = proxyBankAccount;
}
if (proxyBic != null) {
json[r'proxyBic'] = proxyBic;
}
json[r'preferredFiiForPartners'] = preferredFiiForPartners.toList();
if (encryptedSelf != null) {
json[r'encryptedSelf'] = encryptedSelf;
}
return json;
}