PolygonDataBuilder class abstract

Builder of PolygonData instances.

The builder can create PolygonData instances for polygons with an outer boundary and optionally one or more inner boundaries (holes).

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

Constructors

PolygonDataBuilder()
Creates a builder instance.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() PolygonData
Builds an instance of PolygonData and resets the builder instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withAttributes(DataAttributes attributes) PolygonDataBuilder
Configures the builder with custom attributes for polygon to be created.
withGeometry(GeoPolygon geometry) PolygonDataBuilder
Configures the builder with geometry for the polygon to be created.

Operators

operator ==(Object other) → bool
The equality operator.
inherited