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