copyWith method

DragBeginData copyWith({
  1. ScreenPoint? point,
  2. RenderedObject? item,
})

Implementation

DragBeginData copyWith({
  ScreenPoint? point,
  RenderedObject? item
}) {
  return DragBeginData(
    point: point ?? this.point,
    item: item ?? this.item
  );
}