toList method

List<double> toList()

Returns a List of double values representing the BoundingBox in the format minLong, minLat, maxLong, maxLat.

Example:

BoundingBox(1, 2, 3, 4).toList(); // [1, 2, 3, 4]

Implementation

List<double> toList() => [minLong, minLat, maxLong, maxLat];