Input$ScraperSourceInput.fromJson constructor
Input$ScraperSourceInput.fromJson( - Map<String, dynamic> data
)
Implementation
factory Input$ScraperSourceInput.fromJson(Map<String, dynamic> data) {
final result$data = <String, dynamic>{};
if (data.containsKey('stash_box_index')) {
final l$stash_box_index = data['stash_box_index'];
result$data['stash_box_index'] = (l$stash_box_index as int?);
}
if (data.containsKey('stash_box_endpoint')) {
final l$stash_box_endpoint = data['stash_box_endpoint'];
result$data['stash_box_endpoint'] = (l$stash_box_endpoint as String?);
}
if (data.containsKey('scraper_id')) {
final l$scraper_id = data['scraper_id'];
result$data['scraper_id'] = (l$scraper_id as String?);
}
return Input$ScraperSourceInput._(result$data);
}