addLine method
Add a line on the map
Implementation
Future<void> addLine(
{@required String name,
@required List<LatLng> points,
double width = 3.0,
Color color = Colors.green,
bool isDotted = false}) async {
await _linesState.addLine(
name: name,
points: points,
color: color,
width: width,
isDotted: isDotted);
}