duration property
Duration
get
duration
Implementation
Duration get duration => _duration;
set
duration
(Duration value)
Implementation
set duration(Duration value) {
assert(duration is Duration && !duration.isNegative);
_duration = value;
}