toDto method

AnimatedDataDto toDto()

Implementation

AnimatedDataDto toDto() {
  return AnimatedDataDto(duration: duration, curve: curve);
}