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