copyWith method

ScreenShift copyWith({
  1. double? dx,
  2. double? dy,
})

Implementation

ScreenShift copyWith({
  double? dx,
  double? dy
}) {
  return ScreenShift(
    dx: dx ?? this.dx,
    dy: dy ?? this.dy
  );
}