PaymentIntentAuBecsDebit.fromJson constructor

PaymentIntentAuBecsDebit.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentAuBecsDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentAuBecsDebit(
    accountNumber: (map['account_number'] as String),
    bsbNumber: (map['bsb_number'] as String),
  );
}