PaymentIntentCardProcessing.fromJson constructor

PaymentIntentCardProcessing.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentCardProcessing.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentCardProcessing(
      customerNotification: map['customer_notification'] == null
          ? null
          : PaymentIntentProcessingCustomerNotification.fromJson(
              map['customer_notification']));
}