contains method

bool contains(
  1. LatLng? point
)

Checks whether point is inside bounds

Implementation

bool contains(LatLng? point) {
  if (!isValid) {
    return false;
  }
  final sw2 = point;
  final ne2 = point;
  return containsBounds(LatLngBounds(sw2, ne2));
}