toJsonConverter static method
Implementation
static dynamic toJsonConverter(PaymentMethodDetails? object) {
if (object is IdPaymentMethodDetails) return object.id;
return object?.toJson();
}
static dynamic toJsonConverter(PaymentMethodDetails? object) {
if (object is IdPaymentMethodDetails) return object.id;
return object?.toJson();
}