encode<V> static method
Implementation
static V encode<V>(
PaymentMethodDetailsMobilepay instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.card != null) {
InternalCard.encode(
instance.card!,
container.nestedSingleValueContainer('card').encoder,
);
}
return container.value;
}