Path

class Path

Constructors

Link copied to clipboard
constructor(path: PathBuilder<*>.() -> Unit)

Functions

Link copied to clipboard
fun <P : Any> buildWith(builder: PathBuilder<P>): P

Bridge the gap between this platform-agnostic type and its platform-specific type.

Link copied to clipboard
fun <T : Any> get(marker: PathTypeMarker<T>): T

Bridge the gap between this platform-agnostic type and its platform-specific type. The platform specific type is cached inside this Path instance, and multiple calls with the same marker will return the same object. As such, it is very important that you don't mutate the returned platform type.