copyWith method
Returns a copy with the given values replaced.
Implementation
OverlayTransform copyWith({
Offset? position,
double? scale,
double? rotation,
}) => OverlayTransform(
position: position ?? this.position,
scale: scale ?? this.scale,
rotation: rotation ?? this.rotation,
);