PaymentMethodDetailsAuBecsDebit.fromJson constructor

PaymentMethodDetailsAuBecsDebit.fromJson(
  1. Object? json
)

Implementation

factory PaymentMethodDetailsAuBecsDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentMethodDetailsAuBecsDebit(
    bsbNumber:
        map['bsb_number'] == null ? null : (map['bsb_number'] as String),
    fingerprint:
        map['fingerprint'] == null ? null : (map['fingerprint'] as String),
    last4: map['last4'] == null ? null : (map['last4'] as String),
    mandate: map['mandate'] == null ? null : (map['mandate'] as String),
  );
}