factory PaymentIntentEvent.fromJson(Map<String, dynamic> json) => _$PaymentIntentEventFromJson(json);