PaymentMethodDetailsGiropay.fromJson constructor

PaymentMethodDetailsGiropay.fromJson(
  1. Object? json
)

Implementation

factory PaymentMethodDetailsGiropay.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentMethodDetailsGiropay(
    bankCode: map['bank_code'] == null ? null : (map['bank_code'] as String),
    bankName: map['bank_name'] == null ? null : (map['bank_name'] as String),
    bic: map['bic'] == null ? null : (map['bic'] as String),
    verifiedName: map['verified_name'] == null
        ? null
        : (map['verified_name'] as String),
  );
}