Input$QuestAudienceSegmentFrequencyInput.fromJson constructor
Input$QuestAudienceSegmentFrequencyInput.fromJson(
- Map<String, dynamic> data
)
Implementation
factory Input$QuestAudienceSegmentFrequencyInput.fromJson(
Map<String, dynamic> data) {
final result$data = <String, dynamic>{};
if (data.containsKey('frequency')) {
final l$frequency = data['frequency'];
result$data['frequency'] = (l$frequency as int?);
}
if (data.containsKey('period')) {
final l$period = data['period'];
result$data['period'] = l$period == null
? null
: fromJson$Enum$PeriodCycleEnum((l$period as String));
}
return Input$QuestAudienceSegmentFrequencyInput._(result$data);
}