duration property

double get duration

How long the measured block of code took to execute in microseconds.

Implementation

double get duration => end - start;