encode<V> static method
Implementation
static V encode<V>(
ChargeFraudDetails instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.stripeReport != null) {
container.encodeString(
'stripe_report',
instance.stripeReport!,
);
}
if (instance.userReport != null) {
container.encodeString(
'user_report',
instance.userReport!,
);
}
return container.value;
}