PaymentMethodSofort.fromJson constructor

PaymentMethodSofort.fromJson(
  1. Object? json
)

Implementation

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