PaymentProviderStripe.fromJson constructor

PaymentProviderStripe.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory PaymentProviderStripe.fromJson(Map<String, dynamic> json) =>
    PaymentProviderStripe(
      publishableKey: json['publishable_key'],
      needCountry: json['need_country'],
      needPostalCode: json['need_postal_code'],
      needCardholderName: json['need_cardholder_name'],
    );