computeArea static method

num computeArea(
  1. List<LatLng> path
)

Returns the area of a closed path on Earth. @param path A closed path. @return The path's area in square meters.

Implementation

static num computeArea(List<LatLng> path) => computeSignedArea(path).abs();