PaymentIntentEps.fromJson constructor

PaymentIntentEps.fromJson(
  1. Object? json
)

Implementation

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