encode<V> static method
Implementation
static V encode<V>(
PaymentMethodDetailsPaypalSellerProtection instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.disputeCategories != null) {
container.encodeList(
'dispute_categories',
(container) => instance.disputeCategories!
.forEach((el) => container.encodeString(el)),
);
}
container.encodeString(
'status',
instance.status,
);
return container.value;
}