copyWith method
A copy of this value with the given members replaced.
Implementation
ScreenPoint copyWith({double? x, double? y}) =>
ScreenPoint(x: x ?? this.x, y: y ?? this.y);
A copy of this value with the given members replaced.
ScreenPoint copyWith({double? x, double? y}) =>
ScreenPoint(x: x ?? this.x, y: y ?? this.y);