encode<V> static method
Implementation
static V encode<V>(
FinancialAccountPlatformRestrictions instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.inboundFlows != null) {
container.encodeString(
'inbound_flows',
instance.inboundFlows!,
);
}
if (instance.outboundFlows != null) {
FinancialAccountInboundFlows.encode(
instance.outboundFlows!,
container.nestedSingleValueContainer('outbound_flows').encoder,
);
}
return container.value;
}