IntentData.fromJSON constructor

IntentData.fromJSON(
  1. Map<String, String> json
)

Implementation

IntentData.fromJSON(Map<String, String> json) {
  paymentIntentClientSecret = json['payment_intent_client_secret'];
  customer = json['customer'];
  ephemeralKey = json['ephemeral_key'];
  paymentIntentId = json['payment_intent_id'];
}