diff --git a/packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart b/packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart index 0eeddbc8b84..88ae0fb849c 100644 --- a/packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart +++ b/packages/google_maps_flutter/google_maps_flutter_web/lib/src/convert.dart @@ -225,7 +225,7 @@ gmaps.InfoWindowOptions? _infoWindowOptionsFromMarker(Marker marker) { // If both the title and snippet of an infowindow are empty, we don't really // want an infowindow... - if ((markerTitle.isEmpty) && (markerSnippet.isEmpty)) { + if (markerTitle.isEmpty && markerSnippet.isEmpty) { return null; }