PaymentMethodBacsDebit.fromJson constructor
PaymentMethodBacsDebit.fromJson(
- Object? json
Implementation
factory PaymentMethodBacsDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodBacsDebit(
fingerprint:
map['fingerprint'] == null ? null : (map['fingerprint'] as String),
last4: map['last4'] == null ? null : (map['last4'] as String),
sortCode: map['sort_code'] == null ? null : (map['sort_code'] as String),
);
}