PaymentIntentPartiallyFundedEvent.fromJson constructor

PaymentIntentPartiallyFundedEvent.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentPartiallyFundedEvent.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentPartiallyFundedEvent(
      object: PaymentIntent.fromJson(map['object']));
}