PaymentMethodKlarna.fromJson constructor

PaymentMethodKlarna.fromJson(
  1. Object? json
)

Implementation

factory PaymentMethodKlarna.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentMethodKlarna(
      dob: map['dob'] == null
          ? null
          : PaymentFlowsPrivatePaymentMethodsKlarnaDob.fromJson(map['dob']));
}