copyWith method

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

Implementation

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