fromJson static method
Implementation
static PaymentProviderStripe? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return PaymentProviderStripe(
publishableKey: (json['publishable_key'] as String?) ?? '',
needCountry: (json['need_country'] as bool?) ?? false,
needPostalCode: (json['need_postal_code'] as bool?) ?? false,
needCardholderName: (json['need_cardholder_name'] as bool?) ?? false,
);
}