Skip to content

Commit d49ddc0

Browse files
committed
Make lint happy
1 parent ba7390f commit d49ddc0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

arcgis_map_sdk_web/lib/src/layer_controller.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,7 @@ class LayerController {
515515
final List<String> graphicIdsInView = <String>[];
516516
view.graphics.forEach(
517517
allowInterop((JsGraphic graphic, _, __) {
518-
final bool isInView =
519-
extent.intersects(graphic.geometry.extent) ?? false;
518+
final bool isInView = extent.intersects(graphic.geometry.extent);
520519
if (isInView) {
521520
graphicIdsInView.add(graphic.attributes.id);
522521
}
@@ -530,8 +529,7 @@ class LayerController {
530529
if (layer is JsGraphicsLayer) {
531530
layer.graphics?.forEach(
532531
allowInterop((JsGraphic graphic, _, __) {
533-
final bool isInView =
534-
extent.intersects(graphic.geometry.extent) ?? false;
532+
final bool isInView = extent.intersects(graphic.geometry.extent);
535533
if (isInView) {
536534
graphicIdsInView.add(graphic.attributes.id);
537535
}

0 commit comments

Comments
 (0)