encode<V> static method
Implementation
static V encode<V>(
TreasuryFinancialAccountsResourceStatusDetails instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.closed != null) {
TreasuryFinancialAccountsResourceClosedStatusDetails.encode(
instance.closed!,
container.nestedSingleValueContainer('closed').encoder,
);
}
return container.value;
}