Drag.fromPoint constructor
Creates a Drag instance for dragging a point.
Implementation
factory Drag.fromPoint(LatLng originPoint, LatLng destination) {
return Drag._(
type: DragType.fromPoint,
originPoint: originPoint,
destination: destination,
originLine: null,
);
}