encode<V> static method
Implementation
static V encode<V>(
FinancialConnectionsAccountOwnership instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeDateTime(
'created',
instance.created,
);
container.encodeString(
'id',
instance.id,
);
container.encodeString(
'object',
'financial_connections.account_ownership',
);
FinancialConnectionsAccountOwnershipOwners.encode(
instance.owners,
container.nestedSingleValueContainer('owners').encoder,
);
return container.value;
}