IssuingCardholderIndividual.fromJson constructor
IssuingCardholderIndividual.fromJson(
- Object? json
Implementation
factory IssuingCardholderIndividual.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingCardholderIndividual(
cardIssuing: map['card_issuing'] == null
? null
: IssuingCardholderIndividualCardIssuing.fromJson(
map['card_issuing']),
dob: map['dob'] == null
? null
: GelatoDataVerifiedOutputsDate.fromJson(map['dob']),
firstName:
map['first_name'] == null ? null : (map['first_name'] as String),
lastName: map['last_name'] == null ? null : (map['last_name'] as String),
verification: map['verification'] == null
? null
: IssuingCardholderIndividualVerification.fromJson(
map['verification']),
);
}