PaymentMethodDetailsBacsDebit.fromJson constructor
PaymentMethodDetailsBacsDebit.fromJson(
- Object? json
Implementation
factory PaymentMethodDetailsBacsDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodDetailsBacsDebit(
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),
sortCode: map['sort_code'] == null ? null : (map['sort_code'] as String),
);
}