encode<V> static method
Implementation
static V encode<V>(
IssuingPersonalizationDesignRejectionReasons instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.cardLogo != null) {
container.encodeList(
'card_logo',
(container) =>
instance.cardLogo!.forEach((el) => container.encodeString(el)),
);
}
if (instance.carrierText != null) {
container.encodeList(
'carrier_text',
(container) =>
instance.carrierText!.forEach((el) => container.encodeString(el)),
);
}
return container.value;
}