elapsedMs method

int elapsedMs(
  1. int nowUnixTime
)

Returns the elapsed time (in milliseconds) since creation or since the most recent transition to a strong reference.

Implementation

int elapsedMs(int nowUnixTime) => nowUnixTime - _unixTimeMs;