getLineLatLngs method
Retrieves the current position of the line.
This may be different from the value of line.options.geometry
if the line is draggable.
In that case this method provides the line's actual position, and line.options.geometry
the last programmatically set position.
Implementation
Future<List<LatLng>> getLineLatLngs(Line line) async {
return line.options.geometry!;
}