copyWith method
Creates a copy of this position with the given fields replaced
Implementation
PipPosition copyWith({
Offset? offset,
PipAnchor? anchor,
}) {
return PipPosition(
offset: offset ?? this.offset,
anchor: anchor ?? this.anchor,
);
}