copyWith method
Implementation
MorphOrigin copyWith({
MorphOriginType? type,
Rect? rect,
double? borderRadius,
}) {
return MorphOrigin(
type: type ?? this.type,
rect: rect ?? this.rect,
borderRadius: borderRadius ?? this.borderRadius,
);
}