Input$QuestActionActivityWatchedInput.fromJson constructor
Input$QuestActionActivityWatchedInput.fromJson(
- Map<String, dynamic> data
)
Implementation
factory Input$QuestActionActivityWatchedInput.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('watched')) {
final l$watched = data['watched'];
result$data['watched'] = (l$watched as int?);
}
return Input$QuestActionActivityWatchedInput._(result$data);
}