PaymentPagesCheckoutSessionAfterExpiration.fromJson constructor

PaymentPagesCheckoutSessionAfterExpiration.fromJson(
  1. Object? json
)

Implementation

factory PaymentPagesCheckoutSessionAfterExpiration.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentPagesCheckoutSessionAfterExpiration(
      recovery: map['recovery'] == null
          ? null
          : CheckoutSessionAfterExpirationRecovery.fromJson(map['recovery']));
}