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