InvoicePaymentMethodOptionsBancontact.fromJson constructor

InvoicePaymentMethodOptionsBancontact.fromJson(
  1. Object? json
)

Implementation

factory InvoicePaymentMethodOptionsBancontact.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return InvoicePaymentMethodOptionsBancontact(
      preferredLanguage:
          InvoicePaymentMethodOptionsBancontactPreferredLanguage.fromJson(
              map['preferred_language']));
}