encode<V> static method
Implementation
static V encode<V>(
PaymentFlowsAmountDetailsResourceTip instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.amount != null) {
container.encodeInt(
'amount',
instance.amount!,
);
}
return container.value;
}