SetupIntentTypeSpecificPaymentMethodOptionsClient.fromJson constructor

SetupIntentTypeSpecificPaymentMethodOptionsClient.fromJson(
  1. Object? json
)

Implementation

factory SetupIntentTypeSpecificPaymentMethodOptionsClient.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SetupIntentTypeSpecificPaymentMethodOptionsClient(
      verificationMethod: map['verification_method'] == null
          ? null
          : CheckoutAcssDebitPaymentMethodOptionsVerificationMethod.fromJson(
              map['verification_method']));
}