copyWith method

Anchor copyWith({
  1. double? x,
  2. double? y,
})

Implementation

Anchor copyWith({
  double? x,
  double? y
}) {
  return Anchor(
    x: x ?? this.x,
    y: y ?? this.y
  );
}