AnimationDuration(duration: Long, timeUnit: TimeUnit)
Describes the duration of an animation associated with a user-facing action. Creating an instance with the .createDefault method uses the default duration, defined internally in the SDK.
duration
- Duration of the animation.
timeUnit
- Determines the time unit for the animation duration.