timeOrigin top-level property

  1. @experimental
Int64 timeOrigin
final

Time when navigation started or the service worker was started in nanoseconds.

Implementation

@experimental
final Int64 timeOrigin = msToNs(
    window.performance.timeOrigin ?? window.performance.timing.navigationStart,
    fractionDigits: 1);