durationMillis property
Total duration of the log in milliseconds.
This is the reported duration for the recorded log and is typically equal to endTimestampInMillis - startTimestampInMillis but may differ slightly depending on how samples are recorded.
Returns
- An integer representing the duration in milliseconds.
See also:
- activeDurationMillis: Total active recording time excluding pauses.
Implementation
int get durationMillis {
final OperationResult resultString = objectMethod(
pointerId,
'LogMetadata',
'getDurationMillis',
);
return resultString['result'];
}