toList method
Create a list of all the LatLng
s along the outline of this region
Not supported on line regions: use toOutlines()
instead.
Returns a List<LatLng>
which can be used anywhere.
Implementation
@override
List<LatLng> toList() => [
LatLng(bounds.southEast.latitude, bounds.northWest.longitude),
bounds.southEast,
LatLng(bounds.northWest.latitude, bounds.southEast.longitude),
bounds.northWest,
];