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