SourceTypeAchDebit.fromJson constructor
SourceTypeAchDebit.fromJson(
- Object? json
Implementation
factory SourceTypeAchDebit.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SourceTypeAchDebit(
bankName: map['bank_name'] == null ? null : (map['bank_name'] as String),
country: map['country'] == null ? null : (map['country'] as String),
fingerprint:
map['fingerprint'] == null ? null : (map['fingerprint'] as String),
last4: map['last4'] == null ? null : (map['last4'] as String),
routingNumber: map['routing_number'] == null
? null
: (map['routing_number'] as String),
type: map['type'] == null ? null : (map['type'] as String),
);
}