Drag.fromLine constructor
Creates a Drag instance for dragging a line.
Implementation
factory Drag.fromLine(List<LatLng> originLine, LatLng destination) {
return Drag._(
type: DragType.fromLine,
originLine: originLine,
destination: destination,
originPoint: null,
);
}