PersonalizationDesignRejectionReasons.fromJson constructor
PersonalizationDesignRejectionReasons.fromJson(
- Object? json
Implementation
factory PersonalizationDesignRejectionReasons.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PersonalizationDesignRejectionReasons(
cardLogo: map['card_logo'] == null
? null
: (map['card_logo'] as List<Object?>)
.map((el) =>
IssuingPersonalizationDesignRejectionReasonsCardLogoItem
.fromJson(el))
.toList(),
carrierText: map['carrier_text'] == null
? null
: (map['carrier_text'] as List<Object?>)
.map((el) =>
IssuingPersonalizationDesignRejectionReasonsCarrierTextItem
.fromJson(el))
.toList(),
);
}