segments

expect val segments: List<String>

The components of this path that are usually delimited by slashes. If the root is not null it precedes these segments. If this path is a root its segments list is empty.

actual val segments: List<String>
actual val segments: List<String>