PaymentMethodSofort.fromJson constructor
PaymentMethodSofort.fromJson(
- 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));
}