duration property
Duration
get
duration
Implementation
Duration get duration => clips.isNotEmpty
? clips.map((c) => c.end).reduce((a, b) => a > b ? a : b)
: keys.isEmpty
? Duration.zero
: keys.last.at;