copyWith method
Implementation
ScreenPoint copyWith({
double? x,
double? y
}) {
return ScreenPoint(
x: x ?? this.x,
y: y ?? this.y
);
}
ScreenPoint copyWith({
double? x,
double? y
}) {
return ScreenPoint(
x: x ?? this.x,
y: y ?? this.y
);
}