PaymentMethodP24.fromJson constructor

PaymentMethodP24.fromJson(
  1. Object? json
)

Implementation

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