PaymentMethodConfigurationAcssDebit.fromJson constructor

PaymentMethodConfigurationAcssDebit.fromJson(
  1. Object? json
)

Implementation

factory PaymentMethodConfigurationAcssDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentMethodConfigurationAcssDebit(
      displayPreference: map['display_preference'] == null
          ? null
          : PaymentMethodConfigurationDisplayPreference.fromJson(
              map['display_preference']));
}