Skip to content

Commit 9299da2

Browse files
committed
Remove debug logging statements from stac dynamic view parser
1 parent c50f714 commit 9299da2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/stac/lib/src/parsers/stac_dynamic_view/stac_dynamic_view_parser.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ class StacDynamicViewParser extends StacParser<StacDynamicView> {
104104

105105
if (data is List) {
106106
// Check if the template contains an ItemTemplate key
107-
Log.d('data: ${data.length}');
108107
if (template.containsKey('ItemTemplate')) {
109108
// Create a list of widgets using the ItemTemplate
110109
final itemTemplate = template['ItemTemplate'] as Map<String, dynamic>;
@@ -114,9 +113,7 @@ class StacDynamicViewParser extends StacParser<StacDynamicView> {
114113
for (final item in data) {
115114
if (item is Map) {
116115
// Apply the template to each item
117-
Log.d('item: $item');
118116
final processedItem = _applyDataToItem(itemTemplate, item);
119-
Log.d('processedItem: ${processedItem}');
120117
items.add(processedItem);
121118
}
122119
}
@@ -138,13 +135,9 @@ class StacDynamicViewParser extends StacParser<StacDynamicView> {
138135
// Replace with new list otherwise
139136
result['children'] = items;
140137
}
141-
142-
// Add debugging log
143-
Log.d('Processed ${items.length} items for list template');
144138
} else {
145139
// If no ItemTemplate is found, pass through the template
146140
result = template;
147-
Log.d('No ItemTemplate found for list data');
148141
}
149142
} else if (data is Map) {
150143
// If data is a single object, apply it directly to the template

0 commit comments

Comments
 (0)