inMinutes

Deprecated

Use inWholeMinutes property instead or convert toDouble(MINUTES) if a double value is required.

Replace with

toDouble(DurationUnit.MINUTES)

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

Since Kotlin

1.6