contains method

bool contains(
  1. LatLng latLng
)

Whether the bounding box contains LatLng.

Implementation

bool contains(LatLng latLng) =>
    northEast.latitude >= latLng.latitude &&
    northEast.longitude >= latLng.longitude &&
    southWest.latitude <= latLng.latitude &&
    southWest.longitude <= latLng.longitude;