IssuingPersonalizationDesignRejectOptions.fromJson constructor

IssuingPersonalizationDesignRejectOptions.fromJson(
  1. Object? json
)

Implementation

factory IssuingPersonalizationDesignRejectOptions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingPersonalizationDesignRejectOptions(
    expand: map['expand'] == null
        ? null
        : (map['expand'] as List<Object?>)
            .map((el) => (el as String))
            .toList(),
    rejectionReasons: PersonalizationDesignRejectionReasons.fromJson(
        map['rejection_reasons']),
  );
}