toOffsetList static method
Convert a 2-dimensional coordinate array in Offset array
Implementation
static toOffsetList(List<GeoCoordinate2D> coords) =>
coords.map((coord) => Offset(coord.x, coord.y)).toList();
Convert a 2-dimensional coordinate array in Offset array
static toOffsetList(List<GeoCoordinate2D> coords) =>
coords.map((coord) => Offset(coord.x, coord.y)).toList();