copyWith method

Point copyWith(
  1. double x,
  2. double y
)

Implementation

Point copyWith(double x, double y) {
  return Point(
      X: x,
      Y: y,
  );
}