inNanoseconds

Deprecated

Use inWholeNanoseconds property instead or convert toDouble(NANOSECONDS) if a double value is required.

Replace with

toDouble(DurationUnit.NANOSECONDS)

The value of this duration expressed as a Double number of nanoseconds.

Since Kotlin

1.6