encode<V> static method
Implementation
static V encode<V>(
PaymentMethodDetailsAuBecsDebit instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.bsbNumber != null) {
container.encodeString(
'bsb_number',
instance.bsbNumber!,
);
}
if (instance.fingerprint != null) {
container.encodeString(
'fingerprint',
instance.fingerprint!,
);
}
if (instance.last4 != null) {
container.encodeString(
'last4',
instance.last4!,
);
}
if (instance.mandate != null) {
container.encodeString(
'mandate',
instance.mandate!,
);
}
return container.value;
}