copyWith method

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

Implementation

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