PaymentsProviderStripe.fromJson constructor

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

Parse from a json

Implementation

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