PaymentMethodSetup.fromJson constructor

PaymentMethodSetup.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory PaymentMethodSetup.fromJson(Map<String, Object?> json) =>
    PaymentMethodSetup(clientSecret: json['clientSecret'] as String);