encode<V> static method
Implementation
static V encode<V>(
AccountDeclineOn instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.avsFailure != null) {
container.encodeBool(
'avs_failure',
instance.avsFailure!,
);
}
if (instance.cvcFailure != null) {
container.encodeBool(
'cvc_failure',
instance.cvcFailure!,
);
}
return container.value;
}