getLeaves

abstract suspend fun getLeaves(item: T): List<T>

Returns the leaf elements that correspond to the specified item. If the specified item has no leaf elements, empty list should be returned.

Return

The leaf elements that correspond to the specified item.

Parameters

item

Breadcrumb bar item.