duration property

double duration
final

Seconds the previous problem state lasted (0 when entering one).

Implementation

final double duration;