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