SourceTypeAuBecsDebit.fromJson constructor

SourceTypeAuBecsDebit.fromJson(
  1. Object? json
)

Implementation

factory SourceTypeAuBecsDebit.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceTypeAuBecsDebit(
    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),
  );
}