getDuration abstract method

Future<int> getDuration()

Returns time taken to execute this session in milliseconds or zero (0) if the session is not over yet.

Implementation

Future<int> getDuration();