merge method
Merges this object with other, returning a new object of type T.
Implementation
@override
AnimatedDataDto merge(AnimatedDataDto? other) {
return AnimatedDataDto(
duration: other?.duration ?? duration,
curve: other?.curve ?? curve,
);
}