fromJson static method

Returns the instance of OrderItemRefundedWebhookDataPaymentMethodEnum that was successfully decoded from the passed value on success, null otherwise.

Implementation

static OrderItemRefundedWebhookDataPaymentMethodEnum? fromJson(dynamic value) => OrderItemRefundedWebhookDataPaymentMethodEnumTypeTransformer().decode(value);