InvoiceBancontact.fromJson constructor

InvoiceBancontact.fromJson(
  1. Object? json
)

Implementation

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