copyWith method

FreeCameraPosition copyWith({
  1. double? x,
  2. double? y,
  3. double? z,
})

Returns a copy of this position with the given components replaced.

Implementation

FreeCameraPosition copyWith({double? x, double? y, double? z}) =>
    FreeCameraPosition(x: x ?? this.x, y: y ?? this.y, z: z ?? this.z);