clone method

  1. @override
Camera clone([
  1. bool? recursive = true
])
override

Return a new camera with the same properties as this one.

Implementation

@override
Camera clone([bool? recursive = true]) {
  return Camera()..copy(this);
}