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