GeoGeometry constructor

GeoGeometry({
  1. GeoPoint? location,
  2. Iterable<Geometry>? geometries,
})

Implementation

factory GeoGeometry({
  GeoPoint? location,
  $core.Iterable<Geometry>? geometries,
}) {
  final $result = create();
  if (location != null) {
    $result.location = location;
  }
  if (geometries != null) {
    $result.geometries.addAll(geometries);
  }
  return $result;
}