contains method

bool contains(
  1. LatLng point
)

Returns whether this rectangle contains the given LatLng.

Implementation

bool contains(LatLng point) {
  return _containsLatitude(point.latitude) &&
      _containsLongitude(point.longitude);
}