toKotlinDuration

fun toKotlinDuration(): Duration

Converts this duration to a kotlin.time.Duration.