getGroundOverlay method

GroundOverlay? getGroundOverlay(
  1. GroundOverlayId groundOverlayId
)

Returns the GroundOverlay with the given GroundOverlayId. Only used for testing.

Implementation

gmaps.GroundOverlay? getGroundOverlay(GroundOverlayId groundOverlayId) {
  final GroundOverlayController? controller = _groundOverlayIdToController
      .remove(groundOverlayId);
  return controller?.groundOverlay;
}