encode<V> static method
Implementation
static V encode<V>(
PaymentIntentNextActionPromptpayDisplayQrCode instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeString(
'data',
instance.data,
);
container.encodeString(
'hosted_instructions_url',
instance.hostedInstructionsUrl,
);
container.encodeString(
'image_url_png',
instance.imageUrlPng,
);
container.encodeString(
'image_url_svg',
instance.imageUrlSvg,
);
return container.value;
}