encode<V> static method
Implementation
static V encode<V>(
AccountsAccountHolder instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.account != null) {
container.encodeString(
'account',
instance.account!,
);
}
if (instance.customer != null) {
container.encodeString(
'customer',
instance.customer!,
);
}
return container.value;
}