PaymentIntentP24.fromJson constructor

PaymentIntentP24.fromJson(
  1. Object? json
)

Implementation

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