Skip to content

Commit 6d19e60

Browse files
committed
a
1 parent c1dad46 commit 6d19e60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,12 @@ class StacDynamicViewParser extends StacParser<StacDynamicView> {
132132
} catch (e) {
133133
return null;
134134
}
135-
}
136-
else {
135+
} else {
137136
return null;
138137
}
139138
}
140139
}
141-
if(current == null) {
140+
if (current == null) {
142141
return "null";
143142
} else {
144143
return current;
@@ -258,8 +257,9 @@ class StacDynamicViewParser extends StacParser<StacDynamicView> {
258257
// Extract the value from the data
259258
final dataValue = _extractNestedData(data, keys);
260259

261-
if(dataValue != null) {
262-
processedValue = processedValue.replaceAll(placeholder, dataValue.toString());
260+
if (dataValue != null) {
261+
processedValue = processedValue.replaceAll(
262+
placeholder, dataValue.toString());
263263
}
264264
}
265265

0 commit comments

Comments
 (0)