Input$QuestActionActivityApiInput.fromJson constructor
Input$QuestActionActivityApiInput.fromJson(
- Map<String, dynamic> data
)
Implementation
factory Input$QuestActionActivityApiInput.fromJson(
Map<String, dynamic> data) {
final result$data = <String, dynamic>{};
if (data.containsKey('activity')) {
final l$activity = data['activity'];
result$data['activity'] = (l$activity as String?);
}
if (data.containsKey('params')) {
final l$params = data['params'];
result$data['params'] = (l$params as List<dynamic>?)
?.map(
(e) => Input$KeyValueInput.fromJson((e as Map<String, dynamic>)))
.toList();
}
return Input$QuestActionActivityApiInput._(result$data);
}