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