duration property
A Duration
represents a difference from one point in time to another. The
duration may be "negative" if the difference is from a later time to an
earlier.
duration please provide milliseconds. 500 <=duration >=1500.
Implementation
final Duration duration;