ServiceAreaResult class final

A class that describes the service area result.

The result from ServiceAreaTask.solveServiceArea operation. A Service area result object represents the results of the operation. It can contains the following (if you enabled returning corresponding property on parameters): An array of polygons and/or lines representing the service areas. An array of graphics representing the facilities used in the analysis. An arrays of barriers (point, polyline, polygon)

Implemented types

Properties

facilities List<ServiceAreaFacility>
Array of the facilities used to calculate the service are.
no setter
hashCode int
The hash code for this object.
no setterinherited
messages List<String>
Messages.
no setter
pointBarriers List<PointBarrier>
Array of the point barriers.
no setter
polygonBarriers List<PolygonBarrier>
Array of the polygon barriers.
no setter
polylineBarriers List<PolylineBarrier>
Array of the polyline barriers.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getResultPolygons({required int facilityIndex}) List<ServiceAreaPolygon>
Gets array of the result polygons.
getResultPolylines({required int facilityIndex}) List<ServiceAreaPolyline>
Gets array of the result polylines.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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