durationMillis property

int get durationMillis

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:

Implementation

int get durationMillis {
  final OperationResult resultString = objectMethod(
    pointerId,
    'LogMetadata',
    'getDurationMillis',
  );
  return resultString['result'];
}