GeoPolygon class final

A polygon on the earth's surface.

This type can be used as the query argument for a geoWithin query. It cannot be persisted as a property on a realm object.

Implemented types

Constructors

GeoPolygon(GeoRing outerRing, [List<GeoRing> holes = const []])
Create a polygon from an outerRing and a list of holes The outer ring must be a closed ring, and the holes must be non-overlapping closed rings inside the outer ring.

Properties

hashCode int
The hash code for this object.
no setteroverride
holes List<GeoRing>
final
outerRing GeoRing
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override