PaymentMethodDetailsEps.fromJson constructor

PaymentMethodDetailsEps.fromJson(
  1. Object? json
)

Implementation

factory PaymentMethodDetailsEps.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentMethodDetailsEps(
    bank: map['bank'] == null
        ? null
        : PaymentMethodDetailsEpsBank.fromJson(map['bank']),
    verifiedName: map['verified_name'] == null
        ? null
        : (map['verified_name'] as String),
  );
}