duration property

  1. @override
Duration duration
override

The total duration of this operation, equivalent to taking the difference between stopTime and startTime.

Implementation

@override
Duration get duration => stopTime.difference(startTime);